cpf-utils
Version:
Utility functions to deal with CPF data (Brazilian personal ID), like generation fake ones, validating and formatting
77 lines (76 loc) • 1.97 kB
JSON
{
"name": "cpf-utils",
"version": "1.4.2",
"description": "Utility functions to deal with CPF data (Brazilian personal ID), like generation fake ones, validating and formatting",
"license": "MIT",
"author": {
"name": "Julio L. Muller",
"url": "https://github.com/juliolmuller"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"cpf",
"validar",
"validador",
"validate",
"validation",
"formatar",
"format",
"gerar",
"gerador",
"generate",
"generator",
"pt-br",
"br"
],
"repository": {
"type": "git",
"url": "git+https://github.com/juliolmuller/cpf-utils-js.git"
},
"bugs": {
"url": "https://github.com/juliolmuller/cpf-utils-js/issues"
},
"homepage": "https://github.com/juliolmuller/cpf-utils-js#readme",
"main": "build/index.cjs",
"types": "build/index.d.ts",
"exports": {
".": {
"require": {
"default": "./build/index.cjs"
},
"import": {
"default": "./build/index.mjs"
}
}
},
"scripts": {
"build": "rollup --config",
"type-check": "tsc --noEmit",
"lint": "eslint --fix src/ rollup.config.mjs",
"pretest": "bun run build --silent",
"test": "bun test --coverage --coverage-reporter=lcov --coverage-dir=test/__coverage__",
"test:ci": "bun test"
},
"dependencies": {
"@lacussoft/cpf-fmt": "^1.4.1",
"@lacussoft/cpf-gen": "^1.5.1",
"@lacussoft/cpf-val": "^1.4.1"
},
"devDependencies": {
"@babel/preset-env": "^7.26.9",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "~0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@types/node": "^22.14.0",
"rollup": "^4.39.0",
"rollup-plugin-delete": "^3.0.1",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-esbuild": "^6.2.1",
"typescript": "^5.8.3"
}
}