DCItalianFiscalCode
An Italian Fiscal Code generator available as Node.js modules.
Installation
Using npm:
$ npm i --save dcitalianfiscalcode
In Node.js:
// Load the module.var fcUtility = ;// get fiscal code passing data (gender is optional, we could pass undefined).fcUtility;// get fiscal code info passing fiscal code.const info = fcUtility// access infoconsole;console;
If gender is not passed as parameter, this module will try to detect it automatically using name
Feature
- fiscal code generation starting from user's info
- gender auto-detection using name
- extract birth info from fiscal code (birthPlace, birthProvince) See the package source for more details.