5.3.1 • Published 6 months ago

national-id v5.3.1

Weekly downloads
57
License
MIT
Repository
github
Last release
6 months ago

NationalId

This is an attempt to start a package that can validate national identification number across different countries and regions.

Supported languages

  • norwegian
  • danish

Install

Yarn

yarn add national-id

Npm

npm i national-id

Usage

import {Norwegian} from 'national-id'
 
// usage through static implementation
Norwegian.isValid('01065100394')
// or class
const n = new Norwegian('01065100394')
n.isValid() 
...
import {Danish} from 'national-id'
 
// usage through static implementation
Danish.isValid('0811115676')
// or class
const n = new Danish('0811115676')
n.isValid() 
...
5.3.1

6 months ago

5.3.0

6 months ago

5.2.0

6 months ago

5.1.0

7 months ago

5.0.0

9 months ago

4.0.1

1 year ago

4.0.0

1 year ago

3.0.1

1 year ago

3.0.0

2 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.0

6 years ago