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(fr): remove hyphen in "non-optionnel"
- fix: Schema in object being inferred differently (and weirdly) (#2654)
- Support pluggable regex engines
- `z.toJSONSchema()` allows overriding `type` via metadata
- discriminatedUnion breaks TS inference for mutually-recursive getter-based schemas; plain union works
- z.never() within union not behaving as it used to since 4.4.0
- Feature request: Pass the currently set locale to error maps (or otherwise expose it)
- fix: preserve date origin when number timestamp passed to .min()/.max()
- Passing a number to ZodDate min() and max() functions causes the issue origin to become "number" ([email protected])
- [Security Advisory] Verified Remediation Path for picomatch (CVE-2026-33671) via lint-staged - OWASP CVE Lite CLI
- Docs
- TypeScript not yet supported