# validador-formatt-cpf

> Biblioteca para validar CPF.

Latest version **1.0.2** (published 2024-03-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install validador-formatt-cpf
pnpm add validador-formatt-cpf
yarn add validador-formatt-cpf
bun add validador-formatt-cpf
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2024-03-06 |
| First published | 2024-03-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 10.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jussara Sousa |
| Maintainers | jssousa |
| Keywords | cpf, validador, valida, validates, formatt |

## Links

- npm: https://www.npmjs.com/package/validador-formatt-cpf
- Repository: https://github.com/ganes369/validador-cpf
- Homepage: https://github.com/ganes369/validador-cpf#readme
- Issues: https://github.com/ganes369/validador-cpf/issues
- npm.io page: https://npm.io/package/validador-formatt-cpf

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.6.2

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2024-03-06

## README

### Validador de CPF

Valida strings e números de CPF.

### USE

`const { validatorCPF } = require("validador-formatt-cpf");

console.log(validatorCPF("06068102343", true));
`

ou

`
import { validatorCPF } from "validador-formatt-cpf";

console.log(validatorCPF("06068102343", true));
`

`
validCpf('00000000000') // false

validCpf('000.000.000-00') // false

validCpf('148.305.720-86', false) // 14830572086

validCpf('14830572086', true) // 148.305.720-86

validCpf('14830572086') // true`

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