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: preserve input JSON Schema defaults through pipes
- fix(ulid): reject first characters '8'/'9' that overflow 48-bit timestamp
- feat(locales): add Norwegian Nynorsk (nn) locale
- fix: escape JSON Pointer tokens in toJSONSchema $ref paths
- feat(v4): z.compile — ahead-of-time schema compilation
- fix: reject bare IPv6 addresses in z.string().url()
- Flat Documentation / Easier API Discovery
- fix(v4): prevent formatError from throwing on Object.prototype keys in path
- fix(json-schema): encode `$ref` pointer per RFC 6901
- Schema in object being inferred differently (and weirdly)
- Docs
- TypeScript not yet supported