An open API service indexing awesome lists of open source software.

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.

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"