Skip to main content

Optimal

Build, validate, and transform values with immutable typed schemas.

๐Ÿ”‘ Immutable schemas

Process any value with our immutable, fluent, stateless, and typed schemas. With this API design, compose and reuse schemas with ease!

๐Ÿงถ Typed values

We provide a TypeScript-first schema with a powerful inferrence API for many value types, such as, numbers, strings, objects, arrays, unions, tuples, and many more!

๐Ÿ‘ฃ Small footprint

Optimal has been engineered to provide the best performance, the lowest possible filesize (less than 5kB), and a great developer experience.