@phamnghia21/schema-validator
v0.0.2
Published
``` @IsDivisibleBy(num: number) @IsBooleanString() @Contains(seed: string) @NotContains(seed: string) @IsAlpha() @IsAlphanumeric() @IsAscii() @IsBase32() @IsBase64() @IsIBAN() @IsBIC() @IsByteLength(min: number, max?: number) @IsCreditCard() @IsCurrency(o
Downloads
4
Readme
validator
Todo
@IsDivisibleBy(num: number)
@IsBooleanString()
@Contains(seed: string)
@NotContains(seed: string)
@IsAlpha()
@IsAlphanumeric()
@IsAscii()
@IsBase32()
@IsBase64()
@IsIBAN()
@IsBIC()
@IsByteLength(min: number, max?: number)
@IsCreditCard()
@IsCurrency(options?: IsCurrencyOptions)
@IsEthereumAddress()
@IsBtcAddress()
@IsDataURI()
@IsFQDN(options?: IsFQDNOptions)
@IsFullWidth()
@IsHalfWidth()
@IsVariableWidth()
@IsHexColor()
@IsHSLColor()
@IsRgbColor(options?: IsRgbOptions)
@IsIdentityCard(locale?: string)
@IsPassportNumber(countryCode?: string)
@IsPostalCode(locale?: string)
@IsHexadecimal()
@IsOctal()
@IsMACAddress(options?: IsMACAddressOptions)
@IsIP(version?: "4"|"6")
@IsPort()
@IsISBN(version?: "10"|"13")
@IsEAN()
@IsISIN()
@IsJWT()
"@IsNotEmptyObject() "
@IsLowercase()
@IsLatLong()
@IsLatitude()
@IsLongitude()
@IsMobilePhone(locale: string)
@IsISO31661Alpha2()
@IsISO31661Alpha3()
@IsLocale()
@IsPhoneNumber(region: string)
@IsMongoId()
@IsMultibyte()
@IsNumberString(options?: IsNumericOptions)
@IsSurrogatePair()
@IsMagnetURI()
@IsUUID(version?: "3"|"4"|"5"|"all")
@IsFirebasePushId()
@IsUppercase()
@IsMilitaryTime()
@IsHash(algorithm: string)
@IsHash(algorithm: string)
@IsSemVer()
@IsISSN(options?: IsISSNOptions)
@IsISRC()
@IsRFC3339()
@ArrayUnique(identifier?: (o) => any)
@ArrayMinSize(min: number)
@ArrayMaxSize(max: number)
@IsInstance(value: any)
@Allow()