@vereda/http
Generated from the TypeScript source on every build. The package has five entry points:
| Import | What’s in it |
|---|---|
@vereda/http | HttpClient, the request Ticket, configuration types and the error classes (the core module below) |
@vereda/http/middleware | The middleware types, plus defaultHeaders and requestLogger |
@vereda/http/otel | instrumentTracing and otelMetricsSink for OpenTelemetry |
@vereda/http/testing | faultyFetch, a seeded fault-injecting fetch for tests |
@vereda/http/zod | withZod, which validates a response body with a Zod schema |
For how the pieces fit together, start with the guide. For why they work the way they do, read the book.
