Zod

github.comOpen source

Visit website
Zod

TypeScript-first schema validation: declare a shape once, get the runtime check and the static type from the same line.