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: count Unicode code points in string length checks
- `exactOptional()` is missing from documentation
- feat(v4): expose stringbool truthy/falsy/case via _zod.bag
- test(v4): cover mini object shape manipulation
- test(v4): stop redos tests failing on CPU contention
- fix: preserve symbol-keyed properties in object schema output
- fix: enforce RFC 1035 length limits in domain regex
- fix: add depth counter to prevent TS2589 on recursive ZodObject
- fix: distinct error message when xor matches multiple options
- fix: add offset option to z.iso.time() for timezone-aware time strings
- Docs
- TypeScript not yet supported