nit-verifier
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

NIT Verifier ☑️

npm version 10x faster 10x smaller

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 for more uses cases.

Verification algorithm

It uses the undocumented DIAN's module-11 algorithm to generate the verification digit for any given NIT.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i nit-verifier

      Weekly Downloads

      0

      Version

      1.0.6

      License

      MIT

      Unpacked Size

      2.76 kB

      Total Files

      5

      Last publish

      Collaborators

      • mauriciorobayo