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
/
schemas
/
literal
/
index.ts
>
ErrorMessage
The modular and type safe schema library for validating structural data 🤖
fabian-hiller/valibot
Popular
Version
Latest
v1.0.0-beta.7
v1.0.0-beta.6
v1.0.0-beta.3-to-json-schema
v1.0.0-beta.5
v1.0.0-beta.4
v1.0.0-beta.1-i18n
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
LiteralIssue
I
LiteralSchema
T
Literal
f
literal
literal.test-d.ts
literal.ts
I
LiteralIssue
I
LiteralSchema
T
Literal
f
literal