Schemastery

JSON →
library 3.18.0 ·javascript
verified Jun 7, 2026

Schemastery is a TypeScript-driven schema validation library (v3.18.0, actively maintained, monthly releases). It defines schemas using TypeScript inference rather than runtime builders, offering type-safe validation and transformation. Compared to Zod or Yup, it emphasizes integration with TypeScript generics for maximum type inference and a lightweight footprint. It supports nested objects, arrays, unions, and custom types with full type narrowing and error reporting.