CodiceFiscale.js is a javascript and typescript utility library to compute and validate Italian Italian Tax code (codice fiscale).
Version 2.4.0
- Complete JS migration of the update script with support for
npm run update_comuni - Custom Webpack loader for minimizing the final bundle size of the browser distribution
- Performance improvements for memory footprint and execution speed: O(1) comuni lookups and RegExp caching
- Improved code structure, bugfixes in Date objects (timezone UTC issues), and stronger type-checking
- Resolved all npm security vulnerabilities and fully compliant with JS standard style
Version 2.3.10
- Security fixes
- Bug fixes
- Added isOmocodia function
- Test code refactoring
Version 2.3.4
- Improved search
- Bug fixes
Version 2.3.0
- 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
Node
npm install codice-fiscale-js --savevar CodiceFiscale = require('codice-fiscale-js');Web
<script src="/dist/codice.fiscale.var.js"></script>AMD, UMD e CommonJS version are available. Check dist folder
npm run build: build the bundle intodistdirectory.npm run test: launch the tests.