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
- Add Central Kurdish (ckb) locale
- Improve Portuguese localization and add Brazilian Portuguese (pt-BR)
- ability to define inline non-empty array which is expressed in its inferred type (in v4)
- Fix treeifyError TypeError on Object.prototype keys in path
- fix(v3): correct union property inference inside objects (#2654)
- treeifyError throws TypeError when an issue path contains a key inherited from Object.prototype (e.g. toString)
- fix: surface @deprecated on re-exported compat aliases
- fix(toJSONSchema): preserve default value through transform in input mode
- feat(2654): Schema in object being inferred differently (and weirdly)
- feat: add .exactPartial() to ZodObject
- Docs
- TypeScript not yet supported