packagevalidation · typescript
zod
Schema validation that the type system can read.
Why I like it
The right answer for the boundary between your code and the rest of the world. The fact that it doubles as a type generator means you stop maintaining two definitions of the same thing.