i ideas / repo launcher
colinhacks avatar

colinhacks/zod

★ 44,325TypeScriptMIT92

TypeScript-first schema validation with static type inference

What it is

Zod is a TypeScript-first validation library. Define a schema and parse some data with it. You'll get back a strongly typed, validated result. Zero external dependencies Works in Node.js and all modern browsers Tiny: 2kb core bundle (gzipped) Immutable API: methods return a new instance Concise interface Works with TypeScript and plain JS Built-in JSON Schema conversion Extensive ecosystem

When to use it

Reach for zod when you are choosing the foundation of a web app — framework, router, bundler or data layer — it's written in TypeScript and fits stacks tagged runtime-validation, schema-validation, static-types, type-inference.

Category
Frontend Frameworks
Also in
LLM & Inference, Backend & APIs
Stars
44,325
Forks
2,334
Last push
5 days ago
Created
2020-03-07
Open issues
122
Website
zod.dev

Quick start

$ git clone https://github.com/colinhacks/zod.git

Hand it to your AI

Read https://ideas.asveas.com/r/colinhacks/zod.md and help me add colinhacks/zod to my project. Explain the setup steps for my stack and show the minimal code to get it working.
Frontend FrameworksMarkdown .mdOpen on GitHub ↵

Alternatives to zod

All Frontend Frameworks →

Pairs well with

FAQ

What is zod?

colinhacks/zod is a frontend framework on GitHub: TypeScript-first schema validation with static type inference Zod is a TypeScript-first validation library.

When should I use zod?

Reach for zod when you are choosing the foundation of a web app — framework, router, bundler or data layer — it's written in TypeScript and fits stacks tagged runtime-validation, schema-validation, static-types, type-inference.

What are the best alternatives to zod?

Popular alternatives in Frontend Frameworks: react/react (252k★), vercel/next.js (143k★), sveltejs/svelte (88.7k★), vitejs/vite (83.9k★), withastro/astro (63.9k★).

Is zod actively maintained?

colinhacks/zod looks very actively maintained: the last push was 5 days ago (2026-11-06), with 44,325 stars and 122 open issues.

What license does zod use?

colinhacks/zod is published under the MIT license. Check the repository's LICENSE file before commercial use.