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 supported1 Subscribers
Add a CodeTriage badge to zod
Help out
- Issues
- fix: skip non-enumerable properties in record validation
- feat: add capitalize() and titleCase() string methods
- z.toJSONSchema() output has non-enumerable ~standard property that breaks z.json() validation
- 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
- Docs
- TypeScript not yet supported