is-personnummer
Validate Swedish social security numbers.
Install the module with npm:
$ npm install is-personnummer
or with Bower, with AMD and browser support:
$ bower install is-personnummer
or as cli:
$ npm install -g is-personnummer
$ is-personnummer 510818-9167
$ true
Example
$ node> var isPersonnummer = ;undefined> ;true> true> true> false> false> false
See test.js for more examples.
License
MIT