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


Keywords
opts, options, schema, predicate, validator, config, defaults, object, params, struct, blueprint, immutable, schemas, validation
License
MIT
Install
npm install optimal@5.1.1

Documentation

Optimal

Build Status npm version npm deps

Optimal is a system for building and validating any value with typed schemas, and first-class support for defined object structures, like options objects, configuration files, validation fields, and many more. Optimal aims to provide a powerful API, with high performance, the lowest possible filesize, and TypeScript-first support.

Requirements

  • Node v12.17 (server)
  • Edge, Chrome, Firefox, Safari (browser)

Documentation

https://optimallib.dev