0.0.5 • Published 8 months ago
alphafieldsvalidation v0.0.5
Validators
This project is a set of regex
, in order to validate forms data front and back
How to use it
npm install alphafieldsvalidation --save
npm install alphafieldsvalidation@latest --save
import Validators from "alphafieldsvalidation";
//const Validators = require('validation); for communjs
Validators.email('shahul@domaine.net'); // will return true
Validators.email('shahul@domaine'); // will return false
functions
name | description |
---|---|
password | |
minMax | |
zipCode | |
address | |
phoneNumber | |
firstName |