zod

Schema validator

A TypeScript-first schema validation library that allows developers to declaratively validate data types and automatically infers static TypeScript types.

TypeScript-first schema validation with static type inference

GitHub

35k stars
63 watching
1k forks
Language: TypeScript
last commit: almost 2 years ago
Linked from 4 awesome lists

runtime-validationschema-validationstatic-typestype-inferencetypescript

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
chrishoermann/zod-prisma-typesGenerator for creating Zod schemas from Prisma models680
jacobweisenburger/zod_utilzSimplifies common tasks in Zod schema validation170
robintail/express-zod-apiSimplifies building and validating APIs with input data schema validation and customizable middlewares.643
sindresorhus/owA validation library for JavaScript functions and variables.3,813
jakefenley/koa-zod-routerBuilds typesafe routes with built-in input/output validation and middleware support for Koa applications.61
fabien0102/ts-to-zodA tool to generate Zod schemas from TypeScript types/interfaces.1,258
robintail/zod-socketsA TypeScript library that provides a Socket.IO solution with I/O validation and the ability to generate AsyncAPI specification and a contract for consumers.62
duplojs/zod-acceleratorAn optimization layer for Zod's schema validation function60
causaly/zod-validation-errorA utility library that wraps Zod validation errors in user-friendly readable messages.822
flock-community/zod-endpointsContract-first API endpoint definition and schema validation174
schalkventer/zod-devA tool that conditionally disables runtime validation in Zod while preserving type inference7
soc221b/zod-schema-fakerA tool for generating mock data from Zod schemas.20
plumatic/schemaA Clojure(Script) library for describing and validating data shapes with features like validation, coercion, and test generation.2,412
fabian-hiller/valibotA schema library for validating and transforming structured data at runtime without dependencies or external libraries.6,436
marilari88/zod-playgroundAn interactive web application for testing and validating Zod schemas54