Gathering detailed insights and metrics for gerador-validador-cpf
Gathering detailed insights and metrics for gerador-validador-cpf
Gathering detailed insights and metrics for gerador-validador-cpf
Gathering detailed insights and metrics for gerador-validador-cpf
npm install gerador-validador-cpf
Typescript
Module System
Node Version
NPM Version
78.3
Supply Chain
88.3
Quality
75.7
Maintenance
100
Vulnerability
100
License
TypeScript (36.33%)
Stylus (35.64%)
JavaScript (25.97%)
EJS (1.81%)
Shell (0.24%)
Total Downloads
1,333,195
Last Day
119
Last Week
6,303
Last Month
27,319
Last Year
295,441
393 Stars
482 Commits
75 Forks
12 Watching
2 Branches
8 Contributors
Latest Version
5.0.2
Package Id
gerador-validador-cpf@5.0.2
Unpacked Size
16.91 kB
Size
5.43 kB
File Count
10
NPM Version
7.5.3
Node Version
15.10.0
Cumulative downloads
Total Downloads
Last day
-27.9%
119
Compared to previous day
Last week
-14.4%
6,303
Compared to previous week
Last month
-5.4%
27,319
Compared to previous month
Last year
-10.7%
295,441
Compared to previous year
88
Cobertura
Estatísticas
Biblioteca JS open-source para gerar e validar CPF.
A ferramenta pode ser acessada em tiagoporto.github.io/gerador-validador-cpf.
Leia em outros idiomas: English, Português(Brasil)
1npm install gerador-validador-cpf --save
1import { generate } from 'gerador-validador-cpf' 2 3generate() // Gera um CPF no formato 00000000000 4generate({ format: true }) // Gera um CPF no formato 000.000.000-00
1import { validate } from 'gerador-validador-cpf' 2 3validate('12345678900') 4// ou 5validate('123.456.789-00')
Obs. os caracteres .
, -
e espaço
, são ignorados na validação.
Gerador e validador de CPF está sob os termos da licença MIT.
No vulnerabilities found.
Reason
12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 6
Details
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
security policy file detected
Details
Reason
Found 0/20 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
25 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More