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(regex): support extended-year ISO 8601 dates in datetime/date regex
- fix(json-schema): encode pointer tokens per RFC 6901
- fix(types): make record input Partial when value type has defaults
- fix(fromJSONSchema): respect additionalProperties:false when patternProperties is present
- fix(toJSONSchema): preserve default for ZodDefault/ZodCatch even when inner type transforms
- fix(fromJSONSchema): make prefixItems tuple elements optional when minItems is omitted
- fix: make z.any() and z.unknown() object properties optional
- fix(url): reject bare hostnames parsed as protocol-only URLs
- fix(partial): skip wrapping already-optional fields with ZodOptional
- fix: propagate @deprecated JSDoc through type aliases
- Docs
- TypeScript not yet supported