Zod
Schema validation library for TypeScript with inferred static types
What it is
Zod lets you declare a schema once, then parse untrusted data against it and get back a typed, validated result or a detailed list of issues. Types are inferred from the schema, so TypeScript and JavaScript developers avoid writing the same shape twice. It has no dependencies, runs in Node.js and browsers, converts schemas to JSON Schema, and offers an ahead-of-time compile step for hot validation paths.
