Go to file
Luca Adalberto Vandro d2773b1168
Merge pull request #27 from matrad/master
feat(geo-data): added missing bz community H837 and Z118
2020-04-27 00:17:50 +02:00
.vscode Fixed new Date => new Date(Date.UTC(....)) 2019-03-28 20:02:17 +01:00
dist feat: added Z105 CECOSLOVACCHIA geo-code (build) 2020-02-10 16:45:57 +01:00
docs Doc fix 2019-03-28 23:04:38 +01:00
example Removed pad function 2019-04-14 15:14:17 +02:00
lib Removed pad function 2019-04-14 15:14:17 +02:00
src Merge pull request #27 from matrad/master 2020-04-27 00:17:50 +02:00
tests compute inverse even if there is an omocodia 2020-04-14 19:04:28 +02:00
types Bug fix and example completion 2018-10-08 11:27:13 +02:00
.babelrc Fixed new Date => new Date(Date.UTC(....)) 2019-03-28 20:02:17 +01:00
.editorconfig Fixed new Date => new Date(Date.UTC(....)) 2019-03-28 20:02:17 +01:00
.gitignore compute inverse even if there is an omocodia 2020-04-14 19:04:28 +02:00
bundle.js Fixed new Date => new Date(Date.UTC(....)) 2019-03-28 20:02:17 +01:00
LICENSE Bug fix and example completion 2018-10-08 11:27:13 +02:00
package-lock.json compute inverse even if there is an omocodia 2020-04-14 19:04:28 +02:00
package.json Added missing comuni 2019-07-10 16:05:39 +02:00
readme.md readme change 2019-07-10 16:06:45 +02:00
webpack.config.js Fixed new Date => new Date(Date.UTC(....)) 2019-03-28 20:02:17 +01:00

CodiceFiscale.js

CodiceFiscale.js is a javascript and typescript utility library to compute and validate Italian Italian Tax code (codice fiscale).

Check it out

CodiceFiscaleJS

Donate

Donate

Change log

Version 2.2.4

  • Fixed lowercase validation issue
  • Updated country list
  • Security fix

Version 2.2.1

  • Fixed UTC Date issue
  • Minor bug fixed

Version 2.0.0

  • Added TypeScript support
  • Added Object-oriented API
  • Improved performance
  • Improved error detection
  • Backcompatible

Installation

Node

npm install codice-fiscale-js --save
var CodiceFiscale = require('codice-fiscale-js');

Web

<script src="/dist/codice.fiscale.var.js"></script>

AMD, UMD e CommonJS version are available. Check dist folder

Docs

Available npm scripts:

  • npm run build: build the bundle into dist directory.
  • npm run test: launch the tests.