Validate Swedish personal identity numbers.
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
Validate Swedish personal identity numbers.
Install the module with npm:
npm install --save personnummer
import Personnummer from 'personnummer';
Personnummer.valid('198507099805')
//=> true
See test.ts for more examples.
MIT
npm i personnummer
9,771
3.2.1
MIT
24.6 kB
9