zod
https://github.com/colinhacks/zod
TypeScript
TypeScript-first schema validation with static type inference
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported2 Subscribers
Add a CodeTriage badge to zod
Help out
- Issues
- Fix ESM type resolution in package.json exports
- Add JSONType export (fixes #5200)
- More informative error with union types
- RFC: Validate Codec Output
- docs: add note about removed `.errors` alias in v4 changelog
- Zod 4 removed ctx.parent – no ergonomic way to implement reactive cross-field validation
- fix(v4): treeify error nested union bug
- Regression: Confirm field cross-validation (password match) no longer reactive in Zod 4 + RHF
- fix(v4): JSON schema min/max intersection for draft-04 and openapi-3.0
- fix(v4): allOf + additionalProperties: false rejects valid documents (#5390)
- Docs
- TypeScript not yet supported