Skip to main content

personnummer_dart 3.1.1 copy "personnummer_dart: ^3.1.1" to clipboard
personnummer_dart: ^3.1.1 copied to clipboard

Validate Swedish personal identity numbers with Dart and Flutter.

personnummer Build Status #

Validate Swedish personal identity numbers.

This package replaces personnummer on pub.dev. Change the dependency and import to personnummer_dart, the API is the same.

Example #

import 'package:personnummer_dart/personnummer_dart.dart';

Personnummer.valid('198507099805');
//=> true

See test/personnummer.dart for more examples.

In memoriam #

Fredrik "Frozzare" Forsmo (1991-2026) was the initiator, co-founder and a core contributor of the personnummer project. This library carries his work. He is missed.

License #

MIT

0
likes
160
points
0
downloads

Documentation

API reference

Publisher

verified publisherpersonnummer.dev

Weekly Downloads

Validate Swedish personal identity numbers with Dart and Flutter.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on personnummer_dart