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 supported1 Subscribers
Add a CodeTriage badge to zod
Help out
- Issues
- z.iso.time() is missing the `format` property in `toJSONSchema`
- fix typo
- `transform` callback `ctx.addIssue` not in Typescript
- fix: respect `abort: true` in `.refine()` for checks with `when` function
- docs: fix README anchor links for async APIs
- Discussion: Simplify `.safeParse()` response type to include `error: null` for a better dev experience
- Using .default with z.object doesn't do anything, and neither does .required if z.object has defaults
- fix: adds ` | never` to `objectOutputType` as a signal to the LSP tha…
- feat: add .upgrade
- fix: make transform short-circuit on returning z.NEVER
- Docs
- TypeScript not yet supported