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

x/valibot/src/transformations/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/transformations/index.ts";

Functions

Creates a custom transformation function.

Creates a async custom transformation function.

Creates a transformation function that converts all the alphabetic characters in a string to lowercase.

Creates a transformation function that sets a string, number or date to a maximum value.

Creates a transformation function that sets a string, number or date to a minimum value.

Creates a transformation function that removes the leading and trailing white space and line terminator characters from a string.

Creates a transformation function that removes the trailing white space and line terminator characters from a string.

Creates a transformation function that removes the leading white space and line terminator characters from a string.

Creates a transformation function that converts all the alphabetic characters in a string to uppercase.

Type Aliases

To custom transformation type.

To custom transformation async type.

To lower case transformation type.

To max value transformation type.

To min value transformation type.

To trimmed end transformation type.

To trimmed start transformation type.

To trimmed transformation type.

To upper case transformation type.