Go to file
2020-02-10 16:43:46 +01:00
.vscode Fixed new Date => new Date(Date.UTC(....)) 2019-03-28 20:02:17 +01:00
dist feat: added Z118 IUGOSLAVIA geo-code (build) 2019-12-02 23:44: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 feat: added Z105 CECOSLOVACCHIA geo-code 2020-02-10 16:43:46 +01: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 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.