Registry / utility / cpf-cnpj

cpf-cnpj

JSON →
library1.1.0rbrubygemsunverified

Validate, generate and format CPF/CNPJ numbers. Include command-line tools.

gem install cpf_cnpj
INSTALL
IMPORT
SIG · CPF-CNPJ
C
cpf-cnpj
utilityrubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CPF
require 'cpf_cnpj'

Validate a CPF number.

require 'cpf_cnpj' cpf = CPF.new('123.456.789-09') puts cpf.valid? # true or false
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
cpf-cnpj — gem install cpf-cnpj · libregistry