is-cpf
v1.0.1
Published
Determine if a variable is a valid CPF
Downloads
125
Readme
is-cpf
Determine if a variable is a valid CPF
Install
$ npm install --save is-cpf
Usage
const isCPF = require('is-cpf');
console.log(isCPF('265.827.252-97'));
//=> true
console.log(isCPF('123.456.789-01'));
//=> false
License
MIT © Bruno Queiros