is-valid-fodselsnummer-cli
v5.0.2
Published
CLI for checking if input is a valid national identification number of Norway
Downloads
35
Maintainers
Readme
is-valid-fodselsnummer-cli
CLI for checking if input is a valid national identification number of Norway
Installation
From npm
$ npm i is-valid-fodselsnummer-cli -g
From GitHub
$ git clone [email protected]:zrrrzzt/is-valid-fodselsnummer-cli.git
cd into directory an run the setup script
$ npm run setup
Usage
Pass in fødselsnummer
$ is-valid-fodselsnummer <fodselsnummer>
Pass in fødselsnummer and -t or --type to identify type of number. Returns F if regular and D if D-number Returns false if invalid
$ is-valid-fodselsnummer <fodselsnummer> -t
To see version
$ is-valid-fodselsnummer -v
To see help
$ is-valid-fodselsnummer -h
Related
- is-valid-fodselsnummer API for this module