Go to file
2020-06-12 09:53:23 +02:00
.vscode Fixed new Date => new Date(Date.UTC(....)) 2019-03-28 20:02:17 +01:00
dist Rebuild 2020-05-29 23:16:10 +02:00
docs Doc fix 2019-03-28 23:04:38 +01:00
example Fix labels in master/example/index.html 2020-05-27 00:38:08 +02:00
src Rebuild 2020-05-29 23:16:10 +02:00
tests Rebuild 2020-05-29 23:16:10 +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
package-lock.json Added Contarina(TV) 2020-05-26 21:46:30 +02:00
package.json Added types field to package.json 2020-06-12 09:53:23 +02:00
readme.md Rebuild 2020-05-29 23:16:10 +02:00
update_comuni.py Added Python script to get up-to-date data from ISTAT 2020-05-29 23:15:49 +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.5

  • Complete italian comuni list (comuni soppressi, che hanno cambiato provincia) [last update 29/05/2020]
  • Python script to update data directly from the ISTAT website

Version 2.2.5

  • Added more comuni
  • Updated gh-pages sites
  • Security fix

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.