![](/rp/kFAqShRrnkQMbH6NYLBYoJ3lq9s.png)
Zod | Documentation
Zod is a TypeScript-first schema declaration and validation library. I'm using the term "schema" to broadly refer to any data type, from a simple string to a complex nested object. Zod is …
Zod | Documentation - GitHub
[email protected]. Added several built-in validators to string, number, and array schemas; Calls to .refine now return new instance; [email protected]. Introduces ZodAny and ZodUnknown; [email protected]. …
Zod
Zod coerces all inputs using the built-in constructors: `String(input)`, `Number(input)`, `new Date(input)`, etc. ```ts z.coerce.string(); // String(input) z.coerce.number(); // Number(input) …
Zod | Documentation
Error Handling in Zod. This guide explains Zod's internal error handling system, and the various ways you can customize it for your purposes. ZodError. All validation errors thrown by Zod are …
Zod | Documentation - GitHub
zod-mocking: 从你的 Zod 模式中生成模拟数据。 zod-fast-check : 从 Zod 模式中生成 fast-check 的任意数据。 zod-endpoints : 约定优先的严格类型的端点与 Zod。
Zod | Documentation - GitHub
TypeScript-first schema validation with static type inference
Zod | Documentation
TypeScript-first schema validation with static type inference