# nit-verifier

> [![npm version](https://badge.fury.io/js/nit-verifier.svg)](https://badge.fury.io/js/nit-verifier) ![10x faster](https://img.shields.io/badge/10x-faster-brightgreen) ![10x smaller](https://img.shields.io/badge/10x-smaller-brightgreen)

Latest version **1.0.9** (published 2026-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install nit-verifier
pnpm add nit-verifier
yarn add nit-verifier
bun add nit-verifier
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2026-11-27 |
| First published | 2022-11-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mauricio Robayo |
| Maintainers | mauriciorobayo |
| Keywords | nit, dian, rut, dígito de verificación, número de identificación tributario |

## Links

- npm: https://www.npmjs.com/package/nit-verifier
- Repository: https://github.com/mauriciorobayo/nit-verifier
- Homepage: https://colfirma.com
- Issues: https://github.com/mauriciorobayo/nit-verifier/issues
- npm.io page: https://npm.io/package/nit-verifier

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.9 (latest) — 2026-11-27
- 1.0.8 — 2025-08-03
- 1.0.7 — 2025-08-03
- 1.0.6 — 2022-11-07
- 1.0.5 — 2022-11-07
- 1.0.4 — 2022-11-06
- 1.0.3 — 2022-11-06
- 1.0.2 — 2022-11-06
- 1.0.1 — 2022-11-06
- 1.0.0 — 2022-11-06

## README

# NIT Verifier ☑️

[![npm version](https://badge.fury.io/js/nit-verifier.svg)](https://badge.fury.io/js/nit-verifier)
![10x faster](https://img.shields.io/badge/10x-faster-brightgreen)
![10x smaller](https://img.shields.io/badge/10x-smaller-brightgreen)

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 [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.

---
_Source: https://npm.io/package/nit-verifier · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
