mirror of
https://github.com/danog/CodiceFiscaleJS.git
synced 2024-11-26 20:14:55 +01:00
31 lines
937 B
Markdown
31 lines
937 B
Markdown
# CodiceFiscale.js
|
|
CodiceFiscale.js is a javascript and typescript utility library to compute and validate Italian Italian Tax code (codice fiscale).
|
|
|
|
|
|
|
|
## Change log
|
|
**Version 2.0.0**
|
|
- Added TypeScript support
|
|
- Added Object-oriented API
|
|
- Improved performance
|
|
- Improved error detection
|
|
- Backcompatible
|
|
|
|
## Installation
|
|
**Node**
|
|
```sh
|
|
npm install codice-fiscale-js --save
|
|
```
|
|
**Web**
|
|
```html
|
|
<script src="/dist/codice.fiscale.var.js"></script>
|
|
```
|
|
AMD, UMD e CommonJS version are available. Check `dist` folder
|
|
|
|
## Docs
|
|
- [Javascript](https://github.com/lucavandro/CodiceFiscaleJS/tree/master/docs/js-oop.md)
|
|
- [TypeScript](https://github.com/lucavandro/CodiceFiscaleJS/tree/master/docs/typescript.md)
|
|
- [Javascript v1.2.0 deprecated](https://github.com/lucavandro/CodiceFiscaleJS/tree/master/docs/js-static.md)
|
|
## Available npm scripts:
|
|
- `npm run build`: build the bundle into `dist` directory.
|
|
- `npm run test`: launch the tests. |