validate-insz
v1.0.4
Published
Validate Belgian INSZ numbers
Downloads
6,282
Readme
validate-insz
Validate Belgian INSZ numbers
Install
$ npm install validate-insz
Usage
const validateInsz = require('validate-insz');
validateInsz('78.05.20-101.02');
//=> true
validateInsz('78052010102');
//=> true
validateInsz('78.05.20-101.99');
//=> false
validateInsz('78052010199');
//=> false
API
validateInsz(input)
input
Type: string
INSZ number to be validated. This can be formatted or just the sequence of numbers.
License
MIT © Simon Jang