UNPKG

h7-validate-cnpj

Version:

A TypeScript library to validate Brazilian CNPJ. It ensures valid structure, verifies check digits, and handles known invalid patterns.

33 lines (32 loc) 797 B
{ "name": "h7-validate-cnpj", "version": "1.0.3", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "npx ts-node src/index.test.ts" }, "keywords": [ "cnpj", "validate", "validation", "cnpj-validator", "brazil", "brazilian-cnpj", "typescript", "validator", "verify-cnpj" ], "repository": { "type": "git", "url": "https://github.com/herlandio/package-npm-validate-cnpj" }, "author": "Herlandio <https://github.com/herlandio>", "license": "MIT", "description": "A TypeScript library to validate Brazilian CNPJ. It ensures valid structure, verifies check digits, and handles known invalid patterns.", "devDependencies": { "ts-node": "^10.0.0", "typescript": "^5.0.0" } }