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 - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

35

package.json
{
"name": "is-valid-nip",
"version": "1.0.1",
"version": "1.1.0",
"description": "Check if a number is a valid Numer Identyfikacji Podatkowej (NIP)",

@@ -9,2 +9,6 @@ "main": "dist/umd/index.js",

"sideEffects": false,
"type": "module",
"exports": {
"default": "./dist/esm/index.js"
},
"scripts": {

@@ -30,21 +34,26 @@ "build": "yarn build-esm && yarn build-umd",

"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.4.0",
"eslint": "^7.12.0",
"eslint-config-wojtekmaj": "^0.5.0",
"jest": "^26.6.0",
"@babel/cli": "^7.15.0",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"eslint": "^8.5.0",
"eslint-config-wojtekmaj": "^0.6.5",
"husky": "^8.0.0",
"jest": "^27.0.0",
"prettier": "^2.5.0",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.0"
},
"resolutions": {
"rimraf@2.6.3": "^2.6.3",
"semver@7.0.0": "^7.0.0"
},
"files": [
"LICENSE",
"README.md",
"dist/",
"src/"
"dist",
"src"
],
"repository": "https://github.com/wojtekmaj/is-valid-nip.git"
"repository": {
"type": "git",
"url": "https://github.com/wojtekmaj/is-valid-nip.git"
},
"funding": "https://github.com/wojtekmaj/is-valid-nip?sponsor=1",
"packageManager": "yarn@3.1.0"
}
[![npm](https://img.shields.io/npm/v/is-valid-nip.svg)](https://www.npmjs.com/package/is-valid-nip) ![downloads](https://img.shields.io/npm/dt/is-valid-nip.svg) [![CI](https://github.com/wojtekmaj/is-valid-nip/workflows/CI/badge.svg)](https://github.com/wojtekmaj/is-valid-nip/actions) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)
# is-valid-nip
# 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')`
- 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
* [is-valid-pesel](https://github.com/wojtekmaj/is-valid-pesel): Check if a number is a valid PESEL.
* [is-valid-regon](https://github.com/wojtekmaj/is-valid-regon): Check if a number is a valid REGON.
- [is-valid-pesel](https://github.com/wojtekmaj/is-valid-pesel): Check if a number is a valid PESEL.
- [is-valid-regon](https://github.com/wojtekmaj/is-valid-regon): Check if a number is a valid REGON.

@@ -16,0 +18,0 @@ ## Examples

Sorry, the diff of this file is not supported yet

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