validate-nif
Version:
A library to validate Portuguese fiscal number, NIF - Número de Identificação Fiscal.
26 lines (17 loc) • 515 B
Markdown
# Validate NIF
A library to validate Portuguese fiscal number, NIF - Número de Identificação Fiscal.
## Installation
```bash
npm install validate-nif --save
```
## Usage
```js
import { validateNIF } from 'validate-nif';
# returns true
validateNIF('123456789');
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)