@edyspider/validate-niss
v1.0.2
Published
A NPM package to validate Portuguese social security identification number (NISS).
Downloads
20
Maintainers
Readme
Validate-NISS
A NPM package to validate Portuguese social security identification number (NISS).
Installation
npm i @edyspider/validate-niss
Usage
const validateNISS = require('@edyspider/validate-niss');
const validNISS = '12345678910';
const invalidNISS = '99999999999';
console.log(`Is ${validNISS} a valid NISS?`, validateNISS(validNISS));
console.log(`Is ${invalidNISS} a valid NISS?`, validateNISS(invalidNISS));
Is 12345678910 a valid NISS? true
Is 99999999999 a valid NISS? false
Known Issues
Authors
License
- MIT license
- Copyright 2024 © EdySpider