# iscpf

> Validate CPF Numbers (for Node.js and browsers)

Latest version **2.0.0** (published 2021-03-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install iscpf
pnpm add iscpf
yarn add iscpf
bun add iscpf
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2021-03-27 |
| First published | 2016-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 15 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 36 |
| Author | Fernando Daciuk - @fdaciuk |
| Maintainers | fdaciuk |
| Keywords | cpf, validate cpf |

## Links

- npm: https://www.npmjs.com/package/iscpf
- Repository: https://github.com/fdaciuk/iscpf
- Issues: https://github.com/fdaciuk/iscpf/issues
- npm.io page: https://npm.io/package/iscpf

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2021-03-27
- 1.0.6 — 2016-04-02
- 1.0.5 — 2016-04-01
- 1.0.4 — 2016-03-31
- 1.0.3 — 2016-03-31
- 1.0.2 — 2016-03-31
- 1.0.1 — 2016-03-30
- 1.0.0 — 2016-03-29
- 0.0.0 — 2016-03-29

## README

# iscpf

> Validate CPF numbers (for Node.js and browsers)

[![Build Status][build-image]][build-url]
[![License][license-image]][license-url]

## Installation

**NPM:**

```console
npm install --save iscpf
```

**Yarn:**

```console
yarn add iscpf
```

## Usage

Import the lib:

**ES6 Modules:**

```js
import { isCpf } from 'iscpf'
```

**CommonJS:**

```js
const { isCpf } = require('iscpf')
```

Don't worry about pontuation:

```js
console.log(isCpf('75300153206')) // true
console.log(isCpf('462.498.462-55')) // true
```

Enjoy ;)

## License

[MIT][license-url] &copy; Fernando Daciuk

[build-image]: https://img.shields.io/travis/fdaciuk/iscpf.svg?style=flat-square
[build-url]: https://github.com/fdaciuk/iscpf/actions/workflows/npm-publish.yml
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
[license-url]: https://github.com/fdaciuk/licenses/blob/master/MIT-LICENSE.md

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