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
- 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 …
- fix: add the formatted type in `ZodFormattedError` type recursion
- Fix: Optional object properties are not equivalent to required properties with undefined values
- test: add back no printable characters test since is valid test
- [Feature Request] Add credit card validation
- Behaviour change from v3 to v4 with key optional properties
- [v4] Type portability issue when an `object` containing a `json` field is run through `transform`
- discriminatedUnion with default value if discrimanator key is missing
- z.string().url() allows invalid urls like 'http:/www.apple.com'
- Docs
- TypeScript not yet supported