{"library":"suretype","type":"library","category":null,"description":"Suretype is a ridiculously fast and type-safe JSON schema validator for TypeScript and JavaScript. Current stable version is 3.3.1 (pure ESM, Node >=14.13.1 or >=16.0.0). It compiles validator functions using Ajv, extracts JSON Schema, and deduces TypeScript types at compile-time. Key differentiators: ~70x faster than Joi, ~100x faster than Superstruct, ~2500x faster than Zod; supports full JSON Schema but nothing beyond; errors prettified with awesome-ajv-errors; integrates with typeconv for conversion to/from JSON Schema, Open API, TypeScript types, or GraphQL. Works in browsers.","language":"javascript","status":"active","version":"3.3.1","tags":["javascript","typesafe","validate","validator","json","schema","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install suretype","imports":["import { v } from 'suretype'","import type { TypeOf } from 'suretype'","import { compile } from 'suretype'"]},{"cmd":"yarn add suretype","imports":[]},{"cmd":"pnpm add suretype","imports":[]}],"homepage":"https://github.com/grantila/suretype#readme","github":"https://github.com/grantila/suretype","docs":null,"changelog":null,"pypi":null,"npm":"suretype","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}