{"library":"typebox","type":"library","category":null,"description":"TypeBox is a runtime type system that constructs JSON Schema objects from TypeScript-like type definitions, automatically inferring static TypeScript types via Type.Static. The current stable version is 1.1.36, with frequent releases following semantic versioning. It differentiates itself by providing a unified type system that works both at compile time (TypeScript type checking) and runtime (JSON Schema validation), making it ideal for API validation, data serialization, and building type-safe protocols. Unlike standalone validators like Ajv or Zod, TypeBox focuses exclusively on schema generation and type inference, leaving validation to JSON Schema validators.","language":"javascript","status":"active","version":"1.1.36","tags":["javascript","typescript","jsonschema"],"last_verified":"Fri May 01","install":[{"cmd":"npm install typebox","imports":["import Type from 'typebox'","Type.String({ format: 'email' })","type T = Type.Static<typeof schema>"]},{"cmd":"yarn add typebox","imports":[]},{"cmd":"pnpm add typebox","imports":[]}],"homepage":"https://sinclairzx81.github.io/typebox/","github":"https://github.com/sinclairzx81/typebox","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/typebox","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}