Skip to content

🇧🇷 A command line interface for generating, validating and formatting CNPJs

License

Notifications You must be signed in to change notification settings

gabeidx/cnpj-cli

Repository files navigation

cnpj-cli

A command line interface for generating, validating and formatting CNPJs

Install

npm install -g cnpj-cli

Usage

Generate a valid CNPJ

Formatted:

cpnj
cnpj --generate
cnpj -g

Not formatted (numbers only):

cpnj --numbers-only
cnpj --generate --numbers-only
cnpj -n
cnpj -gn

Validate a CNPJ

cnpj --validate 29.709.817/0001-15
cnpj -v 29709817000115

Format a CNPJ

cnpj --format 29709817000115

License

MIT License © Gabriel Silva

About

🇧🇷 A command line interface for generating, validating and formatting CNPJs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published