Preparing for system design interviews?  Try bugzed.com →

pending-queue

JSON →
library 1.2.1 ·javascript
verified Jun 7, 2026

A lightweight queue that ensures a given asynchronous function (load) is executed only once for a given set of parameters, while multiple callers can await the result. Version 1.2.1 is the latest stable release. The package is minimal (zero dependencies) and designed for Node.js 4+. It provides an EventEmitter-based API and custom key serialization via stringify. Use cases include deduplicating API calls, database queries, or any expensive async operation. Unlike similar deduplication utilities, pending-queue queues listeners rather than memoizing results, making it suitable for one-shot or short-lived caching.

total hits 8
actors 1 distinct systems
last hit 21d ago human
GPTBot
3
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · VE · 🇮🇩 Indonesia