{"library":"http-schemas","type":"library","category":null,"description":"Strongly-typed HTTP schemas for TypeScript that enforce API contracts at build time and runtime. Version 0.13.2 ships TypeScript types and integrates with the rtti library for schema specification and enforcement. It supports both client-side (createHttpClient) and server-side (Express integration with createRequestHandler and decorateExpressRouter) usage. Key differentiators include static type checking of request/response payloads, runtime validation, and automatic response trimming to prevent information leaks. Release cadence is irregular; the v0.10 API is deprecated but still supported. Alternatives like tRPC and Zod offer similar functionality but with different trade-offs.","language":"javascript","status":"active","version":"0.13.2","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-schemas","imports":["import { createHttpSchema } from 'http-schemas'","import { createHttpClient } from 'http-schemas/client'","import { createRequestHandler } from 'http-schemas/server'","import { decorateExpressRouter } from 'http-schemas/server'","import { t } from 'http-schemas'"]},{"cmd":"yarn add http-schemas","imports":[]},{"cmd":"pnpm add http-schemas","imports":[]}],"homepage":null,"github":"https://github.com/yortus/http-schemas","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-schemas","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/http-schemas/compatibility"}}