https://github.com/mauriciorobayo/nit-verifier
Colombian NIT verifier
https://github.com/mauriciorobayo/nit-verifier
colombia dian nit
Last synced: 7 months ago
JSON representation
Colombian NIT verifier
- Host: GitHub
- URL: https://github.com/mauriciorobayo/nit-verifier
- Owner: MauricioRobayo
- License: mit
- Created: 2022-11-06T03:48:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-07T02:02:08.000Z (almost 3 years ago)
- Last Synced: 2025-03-07T11:09:33.303Z (7 months ago)
- Topics: colombia, dian, nit
- Language: JavaScript
- Homepage: https://www.registronit.com
- Size: 198 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NIT Verifier ☑️
[](https://badge.fury.io/js/nit-verifier)

Blazing fast, ultra-light, minimal, dependency-free, tree-shakeable, battle-tested, types included, reliable, Colombian NIT verifier.
```
npm i nit-verifier
```## Usage
```
getVerificationDigit("860.069.804")
// 2
```Check the extensive [tests](./index.test.js) for more uses cases.
## Verification algorithm
It uses the undocumented DIAN's `module-11` algorithm to generate the verification digit for any given NIT.