Utils library for specific Brazilian businesses.
Package | Description | Size |
---|---|---|
@brazilian-utils/is-valid-cpf | Check if CPF is valid | |
@brazilian-utils/is-valid-cnpj | Check if CNPJ is valid | |
@brazilian-utils/is-valid-cep | Check if CEP is valid | |
@brazilian-utils/is-valid-boleto | Check if Boleto is valid | |
@brazilian-utils/is-valid-phone | Check if phone is valid | |
@brazilian-utils/format-cpf | Return CPF formatted with mask | |
@brazilian-utils/format-cnpj | Return CNPJ formatted with mask | |
@brazilian-utils/format-boleto | Return boleto formatted with mask | |
@brazilian-utils/generate-cpf | Generates a valid CPF |
Package | Description | Size |
---|---|---|
@brazilian-utils/validators | All validators | |
@brazilian-utils/formatters | All formatters |
Package | Description | Size |
---|---|---|
@brazilian-utils/helper-is-last-char | Check if the index is the same as last index of the string | |
@brazilian-utils/helper-only-numbers | Strips all non numeric characters | |
@brazilian-utils/helper-generate-checksum | Generates a checksum |
Thanks go to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!