0.0.5 • Published 2 years 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 --saveimport Validators from "alphafieldsvalidation";
//const Validators = require('validation); for communjs
Validators.email('shahul@domaine.net'); // will return true
Validators.email('shahul@domaine'); // will return falsefunctions
| name | description |
|---|---|
| password | |
| minMax | |
| zipCode | |
| address | |
| phoneNumber | |
| firstName |