1.0.4 • Published 4 years ago

validate-insz v1.0.4

Weekly downloads
478
License
MIT
Repository
github
Last release
4 years ago

validate-insz Build Status

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

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

6 years ago

1.0.0

6 years ago