1.0.23 • Published 4 years ago

@fdaciuk/test v1.0.23

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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')

Global (window):

;(function (isCpf) {
  // ...
})(window.isCpf)

Don't worry about pontuation:

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

Enjoy ;)

License

MIT © Fernando Daciuk

1.0.22

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.23

4 years ago

1.0.2

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

2.0.0-beta.1

9 years ago

2.0.0-beta.0

9 years ago

1.0.0

9 years ago