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
- `ZodCatch` Rethrow
- Add a fix for the vulnerability in zod literal validation message
- feat: export enumUtil
- docs: add API response validation example to basic usage
- Update type in test for upcoming intersection equality behavior change
- `recordWithBrandedKeys` should not be `Partial`
- Extend `z.discriminatedUnion` to support intersections, unions, and discriminated unions of objects as options
- [BUG]: No clear way to intersect or merge `.strict` + `.refine`/`.superRefine` objects.
- Metadata registries don't solve some problems I've used metadata for
- fix: Support overriding `$defs` / `definition`
- Docs
- TypeScript not yet supported