7.0.0 • Published 5 months ago
national-id v7.0.0
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()
...
7.0.0
5 months ago
6.1.2
1 year ago
6.1.4
11 months ago
6.1.3
12 months ago
6.1.5
11 months ago
5.3.1
2 years ago
5.3.0
2 years ago
5.2.0
2 years ago
5.1.0
2 years ago
5.0.0
2 years ago
4.0.1
2 years ago
4.0.0
2 years ago
3.0.1
3 years ago
3.0.0
4 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.0
7 years ago
1.1.0
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.1.0
7 years ago