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(strict): preserve Shape type inference through wrapper functions
- .exactOptional() paired with coercion produces unexpected values
- fix: object & record intersection incorrectly validates keys owned by the object side
- fix: add offset option to z.iso.time() for timezone-aware time strings
- feat: add Hindi locale (hi.ts) for Zod v4 error messages
- fix(core): treat any/unknown/coerced-boolean object properties as optional-in
- docs: add type-safe generics feature highlight to README
- docs(ecosystem): add zodql to API Libraries
- fix(object): report __proto__ as unrecognized key in strict mode (#6220)
- fix: accept exact decimal multiples in multipleOf
- Docs
- TypeScript not yet supported