Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
valibot
/
src
/
types
/
other.ts
>
MaybeReadonly
The modular and type safe schema library for validating structural data 🤖
fabian-hiller/valibot
Extremely Popular
Version
Latest
v1.0.0-beta.2-to-json-schema
v1.0.0-beta.1-to-json-schema
v1.0.0-beta.3
v1.0.0-beta.2
v1.0.0-beta.1
v1.0.0-beta.0-i18n
1.0.0-beta.0-to-json-schema
v1.0.0-beta.0
v0.2.1-to-json-schema
v0.42.1
v0.2.0-to-json-schema
v0.42.0
v0.1.1-to-json-schema
v0.1.0-to-json-schema
v0.41.0
v0.40.0
v0.39.0
v0.38.0
v0.37.0
v0.36.0
v0.35.0
v0.34.0
v0.33.3
v0.33.2
v0.33.1
v0.33.0
v0.32.0
v0.31.1
v0.31.0
v0.31.0-rc.12
v0.31.0-rc.11
v0.31.0-rc.10
v0.31.0-rc.9
v0.31.0-rc.8
v0.31.0-rc.7
v0.31.0-rc.6
v0.31.0-rc.5
v0.31.0-rc.4
v0.31.0-rc.3
v0.31.0-rc.2
v0.31.0-rc.1
v0.31.0-rc.0
v0.30.0
v0.29.0
v0.28.1
v0.28.0
v0.27.1
v0.27.0
v0.26.0
v0.25.0
v0.24.1
v0.24.0
v0.23.0
v0.22.0
v0.21.0
v0.20.1
v0.20.0
v0.19.0
v0.18.0
v0.17.1
v0.17.0
v0.16.0
v0.15.0
v0.14.0
v0.13.1
v0.13.0
v0.12.0
v0.11.1
v0.11.0
v0.10.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v0.4.0
Menu
index.ts
(default module)
I
ArrayPathItem
I
BaseIssue
I
BaseMetadata
I
BaseSchema
I
BaseSchemaAsync
I
BaseTransformation
I
BaseTransformationAsync
I
BaseValidation
I
BaseValidationAsync
I
Config
I
FailureDataset
I
GenericIssue
I
GenericMetadata
I
GenericSchema
I
GenericSchemaAsync
I
GenericTransformation
I
GenericTransformationAsync
I
GenericValidation
I
GenericValidationAsync
I
MapPathItem
I
ObjectEntries
I
ObjectEntriesAsync
I
ObjectPathItem
I
PartialDataset
I
SetPathItem
I
SuccessDataset
I
UnknownDataset
I
UnknownPathItem
T
DeepPickN
T
Default
T
DefaultAsync
T
DefaultValue
T
ErrorMessage
T
FirstTupleItem
T
InferInput
T
InferIssue
T
InferObjectInput
T
InferObjectIssue
T
InferObjectOutput
T
InferOutput
T
InferTupleInput
T
InferTupleIssue
T
InferTupleOutput
T
IssueDotPath
T
IssuePathItem
T
LastTupleItem
T
MarkOptional
T
MaybePromise
T
MaybeReadonly
T
NonNullable
T
NonNullish
T
NonOptional
T
ObjectKeys
T
OutputDataset
T
PathKeys
T
PipeAction
T
PipeActionAsync
T
PipeItem
T
PipeItemAsync
T
Prettify
T
SchemaWithoutPipe
T
TupleItems
T
TupleItemsAsync
T
UnionToIntersect
T
UnionToTuple
config.ts
I
Config
dataset.ts
I
FailureDataset
I
PartialDataset
I
SuccessDataset
I
UnknownDataset
T
OutputDataset
infer.ts
T
InferInput
T
InferIssue
T
InferOutput
issue.ts
I
ArrayPathItem
I
BaseIssue
I
GenericIssue
I
MapPathItem
I
ObjectPathItem
I
SetPathItem
I
UnknownPathItem
T
IssueDotPath
T
IssuePathItem
metadata.ts
I
BaseMetadata
I
GenericMetadata
object.ts
I
ObjectEntries
I
ObjectEntriesAsync
T
InferObjectInput
T
InferObjectIssue
T
InferObjectOutput
T
ObjectKeys
other.ts
T
Default
T
DefaultAsync
T
DefaultValue
T
ErrorMessage
pipe.ts
T
PipeAction
T
PipeActionAsync
T
PipeItem
T
PipeItemAsync
T
SchemaWithoutPipe
schema.ts
I
BaseSchema
I
BaseSchemaAsync
I
GenericSchema
I
GenericSchemaAsync
transformation.ts
I
BaseTransformation
I
BaseTransformationAsync
I
GenericTransformation
I
GenericTransformationAsync
tuple.ts
T
InferTupleInput
T
InferTupleIssue
T
InferTupleOutput
T
TupleItems
T
TupleItemsAsync
utils.ts
T
DeepPickN
T
FirstTupleItem
T
LastTupleItem
T
MarkOptional
T
MaybePromise
T
MaybeReadonly
T
NonNullable
T
NonNullish
T
NonOptional
T
PathKeys
T
Prettify
T
UnionToIntersect
T
UnionToTuple
validation.ts
I
BaseValidation
I
BaseValidationAsync
I
GenericValidation
I
GenericValidationAsync