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
- 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.
- idea: leverage module augmentation to reduce bundle size
- feat: added support for hostname method in z.string() #3589
- Feature Request: Add abortEarly Mode to Stop Validation at First Error
- Override isn't called in all instances of the schema
- Zod Mini - Tree shaking not removing locales
- Strict by default or strict deep
- Inconsistent typing of `parse` result when using generic schema types
- Making all fields of an object "nullable"
- Docs
- TypeScript not yet supported