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
- Intersection between `z.object` and `z.record` incorrectly merges validators
- Unable to create an object with readonly property
- fix(types): fix type cache crash
- fix: replace es2019 class fields with local members to address #3611
- chore: TypeScript Enhancements for Zod Types
- Add support for extending zod error messages from existing objects
- ZodFlattenedError does not return the same type as the old inferFlattenedErrors
- Feature Request: optionally provide function to `unrepresentable`
- discriminatedUnion fails on encode() when discriminator is a ZodCodec
- feat: add iso yearMonth, monthDay, instant and zonedDateTime as per Temporal proposal
- Docs
- TypeScript not yet supported