vibecodingnav
中/EN
Toolbox/Forms and validation/zod
Z

Zod

Library

TypeScript-first schema validation, one schema for client and server.

MIT · zod.dev

Install and use

Terminal
npm i zod

Why this, and when not

Why Types come from the schema, so the agent is less likely to write two divergent checks.

Skip it If nothing crosses a boundary, the language types are enough.

Peers

Appears in

Source