nir-generator
A tool to generate a random NIR number (https://fr.wikipedia.org/wiki/Numéro_de_sécurité_sociale_en_France)
Installation
npm install --save nir-generator
Usage
// importconst nirGenerator = ; // uselet myNIR = nirGenerator; // following the wiki, there is 3 'type' of NIR number : myNIR = nirGenerator; myNIR = nirGenerator; myNIR = nirGenerator; // You can validate a NIR using if myNIR // valid