UNPKG

@lacussoft/cpf-gen

Version:

Utility function to generate valid CPF (Brazilian ID document).

75 lines (74 loc) 1.92 kB
{ "name": "@lacussoft/cpf-gen", "version": "1.5.1", "description": "Utility function to generate valid CPF (Brazilian ID document).", "license": "MIT", "author": { "name": "Julio L. Muller", "url": "https://github.com/juliolmuller" }, "publishConfig": { "access": "public", "provenance": true }, "keywords": [ "cpf", "generate", "generator", "gerador", "gerar", "faker", "fake", "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/main/packages/cpf-gen#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/ test/ 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", "deepmerge": "^4.3.1", "num-only": "^1.2.6" }, "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/deepmerge": "^2.2.3", "@types/node": "^22.14.0", "cpf-check": "^3.0.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" } }