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
- `zod/mini`: `merge()` type and runtime signatures are inverted
- fromJSONSchema doesn't support format:hostname (but could)
- feat: add z.number().latitude() and z.number().longitude()
- fix: encode / and ~ in \ pointer per RFC 6901
- fix(locale): use exact wording when issue.exact is set for length/size errors (v2)
- fix(regex): support extended-year ISO 8601 dates in datetime/date regex
- fix(locale): exact error messages for locale when issue.exact is set
- fix(formatError): prevent crash on inherited Object.prototype names in path
- fix(locale): add exact flag support for length/size error messages
- fix(json-schema): encode \ pointer tokens per RFC 6901
- Docs
- TypeScript not yet supported