Skip to content

Latest commit

 

History

History

simm-validation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Simple Validation

Features

  • Basic Rules
    • isDate
    • isBase64
    • hasEmoji
    • isEmpty
    • required, requiredIf
    • email
    • 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

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:

Usage

Guideline setup, usage, ...