Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/validations/index.ts

The modular and type safe schema library for validating structural data 🤖
Go to Latest
import * as valibot from "https://deno.land/x/valibot@v0.22.0/src/validations/index.ts";

Variables

v
maxRange
deprecated
v
minRange
deprecated

Functions

Creates a validation function that validates the byte length of a string.

Creates a validation function that validates a Cuid2.

Creates a custom validation function.

Creates a async custom validation function.

Creates a validation function that validates a email.

Creates a validation function that validates an emoji.

Creates a validation function that validates the end of a string.

f
equal
deprecated

Creates a validation function that checks the value for equality.

Creates a validation function that validates the content of a string or array.

Creates a validation function that validates whether a number is finite.

Creates a validation function that validates an IMEI.

Creates a validation function that validates the content of a string or array.

Creates a validation function that validates whether a number is an integer.

Creates a validation function that validates an IPv4 or IPv6 address.

Creates a validation function that validates an IPv4 address.

Creates a validation function that validates an IPv6 address.

Creates a validation function that validates a date.

Creates a validation function that validates a datetime.

Creates a validation function that validates a time.

Creates a validation function that validates a time with seconds.

Creates a validation function that validates a timestamp.

Creates a validation function that validates a week.

Creates a validation function that validates the length of a string or array.

Creates a validation function that validates the byte length of a string.

Creates a validation function that validates the length of a string or array.

Creates a validation function that validates the size of a map, set or blob.

Creates a validation function that validates the value of a string, number or date.

Creates a validation function that validates the MIME type of a file.

Creates a validation function that validates the byte length of a string.

Creates a validation function that validates the length of a string or array.

Creates a validation function that validates the size of a map, set or blob.

Creates a validation function that validates the value of a string, number or date.

Creates a validation function that validates whether a number is a multiple.

Creates a validation function that validates the byte length of a string.

Creates a validation function that validates the length of a string or array.

Creates a validation function that validates the size of a map, set or blob.

Creates a validation function that validates the value of a string or number.

Creates a validation function that validates a string with a regex.

Creates a validation function that validates whether a number is a safe integer.

Creates a validation function that validates the size of a map, set or blob.

Creates a validation function that validates the start of a string.

Creates a validation function that validates a ULID.

Creates a validation function that validates a URL.

Creates a validation function that validates a UUID.

Creates a validation function that validates the value of a string or number.

Type Aliases

Bytes validation type.

Cuid2 validation type.

Custom validation type.

Custom validation async type.

Email validation type.

Emoji validation type.

Ends with validation type.

Equal validation type.

Excludes validation type.

Finite validation type.

IMEI validation type.

Includes validation type.

Integer validation type.

IPv4 validation type.

IPv6 validation type.

IP validation type.

ISO date time validation type.

ISO date validation type.

ISO time second validation type.

ISO timestamp validation type.

ISO time validation type.

ISO week validation type.

Length validation type.

Max bytes validation type.

Max length validation type.

Max size validation type.

Max value validation type.

MIME type validation type.

Min bytes validation type.

Min length validation type.

Min size validation type.

Min value validation type.

Multiple of validation type.

Not bytes validation type.

Not length validation type.

Not size validation type.

Not value validation type.

Regex validation type.

Safe integer validation type.

Size validation type.

Starts with validation type.

ULID validation type.

URL validation type.

UUID validation type.

Value validation type.