myzod
JSON →myzod (v1.12.1) is a TypeScript-first schema validation library with type inference, inspired by Zod. It provides a familiar API for defining schemas using object, string, number, boolean, array, record, union, intersection, and more. Key differentiators include significantly faster parsing performance (claimed ~25x faster than Zod in benchmarks) and a focus on type safety with strict validation. The library emits TypeScript type declarations and supports ESM and CJS. It is actively maintained on GitHub with periodic releases, though less frequent than more popular alternatives like Zod. Its type system closely mirrors TypeScript's own, allowing complex generics like Pick, Omit, and Partial.
Resources
packagemyzod ↗