2.0.0 • Published 3 years ago

iscpf v2.0.0

Weekly downloads
624
License
MIT
Repository
github
Last release
3 years ago

iscpf

Validate CPF numbers (for Node.js and browsers)

Build Status License

Installation

NPM:

npm install --save iscpf

Yarn:

yarn add iscpf

Usage

Import the lib:

ES6 Modules:

import { isCpf } from 'iscpf'

CommonJS:

const { isCpf } = require('iscpf')

Don't worry about pontuation:

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

Enjoy ;)

License

MIT © Fernando Daciuk

2.0.0

3 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.0

8 years ago