Memoized Node Fetch

JSON →
library 1.1.5 ·javascript
verified May 27, 2026

memoized-node-fetch is a JavaScript/TypeScript utility that wraps `node-fetch` (or any `fetch`-like function) to implement request promise memoization. Its primary function is to return the *same promise* for identical concurrent requests until that promise resolves, preventing redundant calls to external APIs. Unlike a traditional data cache, this library specifically caches the promise object itself, not the resolved data, and the cache is cleared immediately upon resolution or rejection. The current stable version is 1.1.5. While not strictly scheduled, the project appears to follow an as-needed release cadence for bug fixes and minor improvements. Its key differentiator from state management libraries like React Query or SWR is its focus on *deduplicating in-flight requests* rather than long-term data caching, making it complementary to such libraries when used as their underlying fetcher. It hashes the URL and request options to determine if requests are identical.

total hits 12
actors 7 distinct systems
last hit 20h ago human
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇮 Finland · 🇩🇪 Germany · 🇬🇧 United Kingdom