@fewbadboy/validator
v1.0.4
Published
A library of data validators
Downloads
27
Readme
README
tools for validate something
install
# npm
# https://registry.npmjs.org/
# npm config set registry https://mirrors.cloud.tencent.com/npm/
npm install @fewbadboy/validator -reg=https://mirrors.cloud.tencent.com/npm/
# yarn
# yarn config set registry https://mirrors.cloud.tencent.com/npm/
yarn add @fewbadboy/validator --registry=https://mirrors.cloud.tencent.com/npm/
function
- isExternal
- isArray
- validPassword
- validName
- validPhone
- validURL
- validLowerCase
- validUpperCase
- validAlphabets
- validEmail
- validateIP
- validPort
- validSpace