cnpj-cpf-validator
Version:
Uma biblioteca TypeScript/JavaScript/Node para validar e formatar números de CPF e CNPJ já com o suporte aos novos CNPJ alfanuméricos.
68 lines (67 loc) • 1.75 kB
JSON
{
"name": "cnpj-cpf-validator",
"version": "1.0.4",
"description": "Uma biblioteca TypeScript/JavaScript/Node para validar e formatar números de CPF e CNPJ já com o suporte aos novos CNPJ alfanuméricos.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"build": "tsc && tsc-alias",
"build:esm": "tsc -p tsconfig.esm.json && tsc-alias -p tsconfig.esm.json && cp dist/index.js dist/index.mjs && npm run build",
"build:all": "npm run build && npm run build:esm",
"prepublishOnly": "npm run build:all",
"test": "jest",
"test:coverage": "npm run build:all && jest --coverage"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"typescript": "^5.5.3",
"tsc-alias": "^1.8.8"
},
"keywords": [
"cnpj",
"cpf",
"validador",
"validator",
"validation",
"inova simples",
"cnpj alfanumerico",
"alphanumeric cnpj",
"cnpj com letras",
"brasil",
"brazil",
"receita federal",
"govbr",
"node",
"typescript",
"javascript",
"commonjs",
"es-module"
],
"author": "Frederico Ferreira",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/FredericoSFerreira/cnpj-cpf-validator.git"
},
"bugs": {
"url": "https://github.com/FredericoSFerreira/cnpj-cpf-validator/issues"
},
"homepage": "https://github.com/FredericoSFerreira/cnpj-cpf-validator#readme",
"files": [
"dist",
"LICENSE",
"README.md"
],
"private": false
}