ffetch v5 is out ffetch is a TypeScript-first fetch client focused on production reliability. Core functionality includes: - timeouts (global and per-request) - retries with exponential backoff + jitter - lifecycle hooks (before/after/onError) - pending request monitoring - per-request overrides - optional throwOnHttpError v5 introduces a public plugin lifecycle API plus first-party plugins for: - circuit breaker - in-flight request deduplication (with optional ttl/sweepInterval cleanup) It can wrap native fetch or any fetch-compatible implementation (undici, node-fetch, framework fetch handlers). |
No comments yet