New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vality-core

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vality-core

Value objects e validações para formulários (CPF, CNPJ, Email, Moeda, DatePicker, etc.)

latest
npmnpm
Version
1.1.0
Version published
Maintainers
2
Created
Source

vality-core

Value objects e validações para formulários (CPF, CNPJ, Email, Moeda, DatePicker, Placa, Nome, etc.) em TypeScript/JavaScript.

📖 Documentação completa

Instalação, API, exemplos em Vue 3, React e Angular:
Documentação principal →

Instalação

npm install vality-core

Uso rápido

import { Cpf, Cnpj, Email, Moeda, DatePicker } from "vality-core";

const cpf = new Cpf("123.456.789-09");
console.log(cpf.ehValido) // true

const email = new Email("usuario@exemplo.com");
console.log(email.ehValido) // true

const moeda = new Moeda(1000);
console.log(moeda.valor) // R$ 1000,00

Keywords

vality

FAQs

Package last updated on 02 Apr 2026

Did you know?

Socket

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.

Install

Related posts