Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-valid-nip

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-valid-nip

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

  • 1.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
163
increased by4.49%
Maintainers
1
Weekly downloads
 
Created
Source

npm downloads CI tested with jest

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
kontakt@wojtekmaj.pl
https://wojtekmaj.pl

Keywords

FAQs

Package last updated on 02 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc