Skip to content

crkt/personnummer-js

 
 

Repository files navigation

personnummer Build Status NPM Downloads

Validate Swedish personal identity numbers. Follows version 3 of the specification.

Install the module with npm:

npm install --save personnummer

Example

import Personnummer from 'personnummer';

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

See test.ts for more examples.

License

MIT

About

Validate Swedish personal identity numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.8%
  • JavaScript 7.2%