is-valid-nip
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

npm downloads CI

Is-Valid-NIP

Check if a number is a valid Numer Identyfikacji Podatkowej (NIP).

tl;dr

  • Install by executing npm install is-valid-nip or yarn add is-valid-nip.
  • Import by adding import isValidNIP from 'is-valid-nip'.
  • Use it by writing const valid = isValidNIP('5252611332')

See also

Examples

isValidNIP('5252611332'); // true

isValidNIP('525-261-13-32'); // true

isValidNIP('525-26-11-332'); // true

License

The MIT License.

Author

Wojciech Maj Wojciech Maj

Readme

Keywords

Package Sidebar

Install

npm i is-valid-nip

Weekly Downloads

163

Version

1.2.4

License

MIT

Unpacked Size

7.73 kB

Total Files

10

Last publish

Collaborators

  • wojtekmaj