https://github.com/jondotsoy/nidnum.js
nidnum.js is a converter that work to compose and uncompose the national identification numbers.
https://github.com/jondotsoy/nidnum.js
Last synced: about 1 month ago
JSON representation
nidnum.js is a converter that work to compose and uncompose the national identification numbers.
- Host: GitHub
- URL: https://github.com/jondotsoy/nidnum.js
- Owner: JonDotsoy
- License: mit
- Created: 2016-10-31T14:11:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T04:24:31.000Z (about 2 years ago)
- Last Synced: 2025-03-12T15:40:49.946Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 490 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NIDNum
_nidnum.js_ is a converter that work to compose and uncompose the [national identification numbers][national identification number].
## Usage Chilean Check
```javascript
const chilean = require("nidnum/chilean")console.log(chilean.isValid(""))
``````javascript
const chilean = require("nidnum/chilean")if (chilean.isValid(RUT)) {
console.log("Is valid")
} else {
console.log("Not is valid")
}
```[national identification number]: https://en.wikipedia.org/wiki/National_identification_number "National identification number"