fetch-dedupe

JSON →
library 3.0.0 ·javascript
verified Jun 7, 2026

A lightweight, fetch-compatible HTTP client (v3.0.0) that transparently deduplicates identical in-flight requests and caches responses to improve performance in complex web apps. Unlike raw fetch, it groups concurrent requests with the same URL, method, and body into a single network call, and can cache responses for subsequent requests. It exports a fetchDedupe function, cache management utilities, and error types. Works in browsers and Node 18+ with global fetch.