
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
@alexandrezanata/validators-cli
Advanced tools
Terminal CLI for Brazilian document validation — CPF, CNPJ, CEP, IE, PIX, boleto, and more
Terminal CLI for all Brazilian document validators in @alexandrezanata/validators-core.
npm install -g @alexandrezanata/validators-cli
Or run without install:
npx @alexandrezanata/validators-cli --help
br-validators list
br-validators --version
br-validators cnpj validate 12ABC34501DE35 --json --source
br-validators cpf validate 12345678909
br-validators cep format 01310100
br-validators placa validate ABC1D23
br-validators pis-pasep validate 10027230888
br-validators pix validate pix@bcb.gov.br
br-validators boleto validate <linha-ou-barcode>
br-validators cartao validate 4111111111111111
br-validators ie validate 110042490114 --uf SP --json
| Action | Description |
|---|---|
validate | Check format + check digits |
format | Apply official mask |
strip | Normalize to canonical digits/chars |
| Flag | Description |
|---|---|
--json | JSON output (ValidationResult) |
--quiet / -q | Exit code only (CI) |
--file / -f | Read value from file |
--source | Print official source URL |
--uf | Required for IE (27 UFs) |
br-validators cnpj validate "$CNPJ" --quiet || exit 1
MIT
FAQs
Terminal CLI for Brazilian document validation — CPF, CNPJ, CEP, IE, PIX, boleto, and more
We found that @alexandrezanata/validators-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.