This documentation is organized around the normal request flow: start with the quick start, then read the response contract, then add configuration and middleware as needed.
| Document | Description |
|---|---|
| Getting started | Install, base URL, and the first request |
| Error handling | Success and failure response branches |
| Architecture | Public contract and middleware flow |
| Configuration | Client options, defaults, and overrides |
| Document | Description |
|---|---|
| Middleware | Built-in middleware and composition |
| Cancellation | AbortSignal and timeout behavior |
| TypeScript | Narrowing, generics, and response types |
| Operation ID | Correlation headers and tracing helpers |
| Export structure | Package entry points and subpath exports |
| Troubleshooting | Common setup and runtime issues |
| Document | Description |
|---|---|
| Authentication | Bearer token injection |
| Authorization | Selected failure handling |
| Retry | Retries with backoff |
| Cache | TTL memoization for safe reads |
| Logging | Request and response logging |
| Rate limit | Client-side throttling |
| CSRF | CSRF token injection |
| Custom | Write middleware directly |
- README - project entry point
- CHANGELOG - release notes
- CONTRIBUTING - contribution workflow
- @fgrzl/fetch-gen - OpenAPI code generation