Skip to content

CPF - Brazilian individual taxpayer registry identification

License

Notifications You must be signed in to change notification settings

fabiorecife/cpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPF

CPF - Brazilian individual taxpayer registry identification

Install

Install with npm:

$ npm i @fabioalmeida/cpf

Usage

var cpf = require('@fabioalmeida/cpf')
console.log(cpf.isValid('02111606014'))

var cpfNum = cpf.generate()
console.log(cpf.isValid(cpfNum)) // result true
console.log(cpf.format(('02111606014'))) // 021.116.060-14

About

CPF - Brazilian individual taxpayer registry identification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published