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(zod): guard zero divisor in bigint multipleOf check
- fix(regexes): enforce RFC 1035 length limits in regexes.domain
- fix(checks): date min/max issue origin should reflect input, not bound
- fix(regexes): allow underscores inside httpUrl hostname labels
- fix(url): reject bare IPv6 addresses in z.url()
- fix(json-schema): keep preprocess object properties required in input mode
- fix(json-schema): don't let metadata override Zod-derived keywords
- fix(intersection): run checks/refinements/transforms on strict branches
- fix(errors): report non-finite numbers as "Infinity" in invalid_type message
- fix(core): detect promises robustly when globalThis.Promise is patched
- Docs
- TypeScript not yet supported