stackpicks.dev
colinhacks

zod

TypeScript-first schema validation with static type inference

42.7k stars2k forks79 watchers73 open issuesTypeScriptMIT
EDITOR'S TAKE

TypeScript-first schema validation. ~35k stars. The de facto choice for input validation in TS apps. Works with every form library, every API framework, every ORM. If you are not using it yet, you should be.

Use this if

You are writing TypeScript and validating any input — forms, API requests, env vars, anything.

Skip if

You are not on TypeScript or you are deep in a Yup codebase that works fine.

Topics
typescriptschema-validationtype-inferenceruntime-validationstatic-types
Created 08 Mar 2020
Last push 1 day ago
Stats refreshed 1 hour ago