personnummer Build Status

Validate Swedish social security numbers.

Example

import 'package:personnummer/personnummer.dart';

Personnummer.valid(6403273813);
//=> true

Personnummer.valid('19130401+2931');
//=> true

See test/personnummer.dart for more examples.

License

MIT

Libraries

personnummer