Go to file
2020-05-29 23:15:00 +02:00
.vscode Fixed new Date => new Date(Date.UTC(....)) 2019-03-28 20:02:17 +01:00
dist Added Contarina(TV) 2020-05-26 21:46:30 +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
lib geodata.js has been splitted into lista-comuni.js and lista-provincia.js 2020-05-29 23:15:00 +02:00
src geodata.js has been splitted into lista-comuni.js and lista-provincia.js 2020-05-29 23:15:00 +02:00
tests Added Contarina(TV) 2020-05-26 21:46:30 +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 Added Contarina(TV) 2020-05-26 21:46:30 +02:00
package.json Updated version 2020-05-26 21:51:58 +02:00
readme.md Updated readme 2020-05-26 22:01:21 +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

  • 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.