Go to file
2019-06-27 08:40:15 +02:00
.vscode Fixed new Date => new Date(Date.UTC(....)) 2019-03-28 20:02:17 +01:00
dist Bug fix 2019-06-27 00:36:05 +02: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 Fixed lower case validation 2019-06-27 00:34:27 +02:00
tests Fixed lower case validation 2019-06-27 00:34:27 +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 Add bundle 2017-03-10 12:40:40 +01: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 Bug fix 2019-06-27 01:29:18 +02:00
package.json Bug fix 2019-06-27 01:29:18 +02:00
readme.md Added node js info 2019-06-27 08:40:15 +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.3

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