Getting started
Install the validator on your project.
Last updated
Was this helpful?
Install the validator on your project.
Last updated
Was this helpful?
Oridune validator is a TypeScript-first schema declaration and validation library like .
Validator is designed to be as developer-friendly as possible. The goal is to eliminate duplicative type declarations. With Validator, you declare a validator schema once and it will automatically infer the static TypeScript type. It's easy to compose simpler types into complex data structures.
Zero dependencies
Works in Deno/Node and all modern browsers
Reusable schema that leverages the validation context to save the memory
Concise, chainable interface
It works with plain JavaScript too! You don't need to use TypeScript.
TypeScript 4.5+!
You must enable strict
mode in your tsconfig.json
. This is a best practice for all TypeScript projects.
You can install the Oridune validator from JSR in your preferred JavaScript environment! See the following