Skip to content

@vereda/http

Generated from the TypeScript source on every build. The package has five entry points:

ImportWhat’s in it
@vereda/httpHttpClient, the request Ticket, configuration types and the error classes (the core module below)
@vereda/http/middlewareThe middleware types, plus defaultHeaders and requestLogger
@vereda/http/otelinstrumentTracing and otelMetricsSink for OpenTelemetry
@vereda/http/testingfaultyFetch, a seeded fault-injecting fetch for tests
@vereda/http/zodwithZod, 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.