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
- Stripping Unrecognised keys from enum record.
- Feature request: add .titleCase() and .capitalize() string methods
- Feature request: Set operations on schemas
- `transform` callback `ctx.addIssue` not in Typescript
- Discussion: Simplify `.safeParse()` response type to include `error: null` for a better dev experience
- fix: adds ` | never` to `objectOutputType` as a signal to the LSP tha…
- feat: add .upgrade
- fix: make transform short-circuit on returning z.NEVER
- feat: added support multiple parameters in .startsWith() and .endsWith() in string for ticket #3683
- feat: added support for type negation with z.not() and .not() method …
- Docs
- TypeScript not yet supported