Simple JavaScript Queue
JSON →js-queue provides a straightforward JavaScript queue implementation for both Node.js and browser environments, featuring an 'auto-run' capability where the queue processes new items as they are added, provided it's not explicitly stopped. The current stable version is 2.0.2, with releases appearing to be made as needed for updates and fixes, rather than a strict cadence. A key differentiator is its simplicity and explicit support for both CommonJS environments (Node.js, Webpack, Browserify) and vanilla browser usage. Additionally, since version 2.0.0, it exposes an ES6-based Last In First Out (LIFO) stack via `js-queue/stack.js`, offering an alternative data structure with a similar interface, useful for different application needs.
Traffic · last 30 days ↑300% vs prev 7d
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France · 🇪🇸 Spain