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
- ZodObject methods (pick, omit, partial, etc.) for discriminatedUnion
- Feature request deepRequired
- Feature request: allow for single element unions
- Add a `text` validation for multiline?
- Having `undefined` as a function that can be imported is a package design issue
- [Feature] Add phone number parsing
- Feature: support multiple parameters in `.startsWith()`
- Support ignoring whitespace in Base64 encoded strings.
- Inconsistent input field behavior between .check() and .superRefine() in Zod error maps
- When z.infer a Record with Template Literal Type as a key, it becomes a Partial Record.
- Docs
- TypeScript not yet supported