www.npmjs.com
Open in
urlscan Pro
2606:4700::6811:dfaf
Public Scan
Submitted URL: https://npmjs.org/package/class-validator-cpf
Effective URL: https://www.npmjs.com/package/class-validator-cpf
Submission: On September 12 via api from US — Scanned from DE
Effective URL: https://www.npmjs.com/package/class-validator-cpf
Submission: On September 12 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMGET /search
<form id="search" method="GET" action="/search" class="_13c93d41 relative flex bg-transparent ph3 ph2 pv2 ph0-ns pv0-ns bt b--black-10 bn-ns">
<div class="e82b10fd relative dde91b96">
<div class="_2f299eeb nowrap flex"><span class="_705cdf4f db fl pl3 pr1"><svg width="15px" height="15px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" aria-hidden="true">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g stroke="#777777" stroke-width="1.3">
<g>
<path d="M13.4044,7.0274 C13.4044,10.5494 10.5494,13.4044 7.0274,13.4044 C3.5054,13.4044 0.6504,10.5494 0.6504,7.0274 C0.6504,3.5054 3.5054,0.6504 7.0274,0.6504 C10.5494,0.6504 13.4044,3.5054 13.4044,7.0274 Z"></path>
<path d="M11.4913,11.4913 L17.8683,17.8683"></path>
</g>
</g>
</g>
</svg></span><input type="search" role="combobox" name="q" hotkeys="[object Object]" placeholder="Search packages" aria-label="Search packages" aria-controls="typeahead-list-7242" aria-expanded="false" aria-activedescendant=""
inputref="[object Object]" autocomplete="off" class="_390acbc5 f5 fw3 black relative" value="" element="input"></div>
</div><button type="submit" class="_0da775bb bn pv2 ph4 f6 white pointer bn pv2 ph4 f6 white pointer" aria-label="Search">Search</button><input type="hidden" name="csrftoken" value="hInxrHdcaFIoDmfRh2caa3p89Lm7vJ_YD3VwJo35quE">
</form>
Text Content
skip to:contentpackage searchsign in ❤ * Pro * Teams * Pricing * Documentation npm Search Sign UpSign In CLASS-VALIDATOR-CPF 1.1.1 • Public • Published 2 years ago * Readme * Code Beta * 2 Dependencies * 0 Dependents * 12 Versions CLASS-VALIDATOR-CPF Valida strings de CPF no formato XXX.XXX.XXX-XX ou XXXXXXXXXXX, usando como base o pacote class-validator REQUER: Node ^8.0.0. INSTALAÇÃO: npm i class-validator-cpf USO: Importe o decorator da biblioteca na propriedade da sua classe responsável por validar o CPF import { IsCPF } from "class-validator-cpf"; class User { @IsCPF() cpf: string; } ⚠️ AVISO: Todas as opções do class-validator estão disponíveis nessa biblioteca, exemplo: import { IsCPF } from "class-validator-cpf"; class User { @IsCPF({ message: "Mudando a mensagem" }) cpf: string; } TESTES npm test LICENSE MIT Copyright (c) 2023-present README KEYWORDS * class-validator * class-validator-CPF * cpf * validation * validator * regex * regular expression * isCPF * NestJS PACKAGE SIDEBAR INSTALL npm i class-validator-cpf REPOSITORY Gitgithub.com/ocsoares/class-validator-cpf HOMEPAGE github.com/ocsoares/class-validator-cpf#readme DOWNLOADSWEEKLY DOWNLOADS 89 VERSION 1.1.1 LICENSE MIT UNPACKED SIZE 4.92 kB TOTAL FILES 8 ISSUES 0 PULL REQUESTS 0 LAST PUBLISH 2 years ago COLLABORATORS * Try on RunKit Report malware FOOTER SUPPORT * Help * Advisories * Status * Contact npm COMPANY * About * Blog * Press TERMS & POLICIES * Policies * Terms of Use * Code of Conduct * Privacy