Skip to content
personnummerPublic

Repository files navigation

personnummer Build Status

Validate Swedish personal identity numbers.

Published on pub.dev as personnummer_dart. It replaces the old personnummer package, which can no longer be updated. Change the dependency and the 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

Releases

Sponsor this project

Packages

Used by

Contributors

Languages