easy-form-validator
v1.0.5
Published
easy package to validate form information
Downloads
3
Maintainers
Readme
easy-form-validator
How to Install
npm i easy-form-validator
Validate email
const { isEmailValid } = require('easy-form-validation)
Usage : isEmailValid('[email protected]')
result: True | false
Validate name
const { isNameValid } = require('easy-form-validation)
Usage : isNameValid('arulmozhimanikandan')
result: True | false
Validate isOnlyAlphabets
const { isOnlyAlphabets } = require('easy-form-validation)
Usage : isOnlyAlphabets('arulmozhimanikandan')
Result: True | false
Validate isOnlyIntegers
const { isOnlyIntegers } = require('easy-form-validation)
Usage : isOnlyIntegers('453453454343')
Result: True | false