validate-nif
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Validate NIF

A library to validate Portuguese fiscal number, NIF - Número de Identificação Fiscal.

Installation

npm install validate-nif --save

Usage

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

Package Sidebar

Install

npm i validate-nif

Weekly Downloads

9

Version

2.0.1

License

MIT

Unpacked Size

2.5 kB

Total Files

4

Last publish

Collaborators

  • impauloalves