Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 714 Bytes

File metadata and controls

28 lines (18 loc) · 714 Bytes

Swedish personal identity number validator

Validates Swedish personal identity numbers

Tests NPM version

Install

$ npm install --save swedish-personal-identity-number-validator

Usage

import { isValid } from "swedish-personal-identity-number-validator";

isValid("19900704-2386"); // => true

License

MIT © Jonathan Svenheden