stackpicks.dev
Built bycolinhacks

zod

TypeScript-first schema validation with static type inference

42.9k stars2k forks80 watchers89 open issuesTypeScriptMIT

TL;DR · 30-second scan

What it is

zod (TypeScript)TypeScript-first schema validation with static type inference

What it does for you

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

Best for

Forms & Validation · Frameworks

42.9k GitHub starsLicense: MITLast updated 1 month ago
EDITOR'S DEEP 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
Maintainer? Embed our badge

Add this badge to your README to show your project is curated on StackPicks. Free, lightweight (180×28 SVG), and gives your visitors a one-click way to see honest take + alternatives.

Preview
Featured on StackPicks
Markdown (for GitHub README)
[![Featured on StackPicks](https://stackpicks.dev/api/badge/colinhacks-zod)](https://stackpicks.dev/repo/colinhacks-zod)
HTML (for blogs / docs)
<a href="https://stackpicks.dev/repo/colinhacks-zod"><img src="https://stackpicks.dev/api/badge/colinhacks-zod" alt="Featured on StackPicks" width="180" height="28" /></a>

Are you the maintainer of colinhacks/zod? Add the badge and we'll feature your project in the weekly curator newsletter.

Created 08 Mar 2020
Last push 1 month ago
Stats refreshed 1 month ago