- Basic Rules
- isDate
- isBase64
- hasEmoji
- isEmpty
- required, requiredIf
- katakana
- hiragana
- japannese
- isAlphaNumeric
- alphabet
- phone
- url
- json
- jwt
- lowercase
- uppercase
- datetime
- matches
- minValue
- maxValue
- lessThan
- moreThan
- maxValue
- positive
- negative
- integer
- minLength
- maxLength
- unique array
- isIp
- isHslColor
- isRgbColor
- hexColor
- isLuhnNumber
- isCreditCard
- isStrongPassword
- Basic Transforms
- trim
- lowercase
- uppercase
- round
- Form Control
- handle value
- handle error
Install package:
# using yarn
yarn add @techbasejs/simm-next-validation
# using npm
npm add @techbasejs/simm-next-validation
# using pnpm
pnpm add @techbasejs/simm-next-validation
Note:
Guideline setup, usage, ...