🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More
Socket
Book a DemoInstallSign in
Socket

multiform-validator

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiform-validator

Javascript library made to validate, several form fields, such as: email, phone, password, cpf etc.

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
79
182.14%
Maintainers
1
Weekly downloads
 
Created
Source

Multiform-validator

npm version License: MIT

English

This npm package provides JavaScript functions to validate many forms field

Installation

npm install multiform-validator

how to use:

const {cpfIsValid, cnpjIsValid} = require('multiform-validator');
console.log(cpfIsValid('CPFNUMBER')); return true or false
console.log(cnpjIsValid('CNPJNUMBER')); return true or false

or

import {cpfIsValid, cnpjIsValid} from 'multiform-validator';
console.log(cpfIsValid('CPFNUMBER')); return true or false
console.log(cnpjIsValid('CNPJNUMBER')); return true or false

IMPORTANT

Code under development...

Keywords

validator

FAQs

Package last updated on 23 Jul 2023

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