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(v4): transform must not mark fallback when input came from a default
- fix(toJSONSchema): closed tuples constrain array length
- feat(enum): add extend method to ZodEnum
- perf(toJSONSchema): avoid rebuilding reversed seen array in finalize
- fix(fromJSONSchema): prefixItems/items arrays do not require omitted elements
- fix(fromJSONSchema): enforce additionalProperties:false when patternProperties is present
- fix(fromJSONSchema): accept RFC 3339 numeric offsets in date-time format
- perf: elide redundant backward parse when checks cannot mutate the value
- feat: allow passing extra args to apply()
- fix: report date origin for numeric min/max on date schemas
- Docs
- TypeScript not yet supported