ZO

Zod

TypeScript-first schema declaration and validation — parse untrusted data and infer static types from schemas.

TypeScript validation free Open Source since 2020

Zod schemas are runtime validators that also serve as TypeScript type sources — z.infer<typeof schema> extracts the static type automatically. It integrates with React Hook Form, tRPC, and Prisma. The API covers primitives, objects, arrays, unions, transforms, and refinements with a fluent chainable style.

// commonly used with

React framework with file-based routing, SSR, SSG, and API routes — the standard for production …

web 2016

Declarative UI library from Meta for building component-based web interfaces.

web 2013

Full-stack React framework built on web standards — loaders, actions, and nested routing with …

web 2021

Progressive Node.js framework inspired by Angular — decorators, dependency injection, and …

web 2017

Content-focused web framework with islands architecture — ships zero JavaScript by default, …

web 2021

// related libraries

Data validation using Python type hints — parse and validate JSON payloads, configs, and env …

validation 2017 open source

// tags

validationschematypescripttype-safeparsing
Something wrong? Edit this entry on GitHub.
✏ Edit on GitHub