Runtime utilities and shared types to drive type-safe API definitions. Powered by Typeweaver 🧵✨
npm install @rexeus/typeweaver-core


Typeweaver is a type-safe HTTP API framework built for API-first development with a focus on
developer experience. Use typeweaver to specify your HTTP APIs in TypeScript and Zod, and generate
clients, validators, routers, and more ✨
Core runtime and definition types for typeweaver. This package provides the HTTP primitives,
definition classes, validators, and error types that all generators and plugins build on. The
generated code imports these runtime utilities.
---
``bash`
npm install @rexeus/typeweaver-core
This package is typically consumed by generated code. You can also import HTTP primitives (e.g.,
HttpResponse, HttpStatusCode) directly in your application code. To get started with generation,
see @rexeus/typeweaver.
- HTTP primitives: HttpMethod, HttpStatusCode, IHttpRequest, IHttpResponse, HttpResponse.HttpOperationDefinition
- Definitions: , HttpRequestDefinition, HttpResponseDefinition (incl.extend()
for composing headers/bodies).IRequestValidator
- Validation: , IResponseValidator, plus RequestValidationError andResponseValidationError
with structured issues.UnknownResponse
- Utilities: for catch‑all responses.
This package does not ship framework adapters. Use plugins like @rexeus/typeweaver-hono or@rexeus/typeweaver-aws-cdk` for routers/integrations.
Apache 2.0 © Dennis Wentzien 2025