is-valid-nip
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
10719
49
0
Yes
10