Typed data layer
@cogs/fetch-client
xior-based HTTP transport for Kubb v5 generated API clients — the single seam where base URL, auth, headers, timeouts and error shape live
One of the two Seams. Its Server mode passes auth context per request, for MCP servers and workers.
More packages
All packages →- 01
@cogs/react-query
The single TanStack Query seam — re-exports the library plus a shared createQueryClient (centralised retry, 401/403 handling) and stable object-key hashing for Kubb-generated hooks
- 02
@cogs/kubb-transforms
jscodeshift-based code transforms for maintaining Kubb v5-generated codegen output
- 03
@cogs/fetch-error-handler
Properly handle fetch errors and avoid a lot of boilerplate in your app.