To address this inefficiency when processing large amounts of data, designing a queue with O(1) time complexity can solve many problems.
Elegant queue and event plugin.
Elegant queue handling for Cloudflare Workers
Tiny queue data structure
Elegant spinner for interactive CLI apps
fast, tiny `queueMicrotask` shim for modern engines
A shim for the setImmediate efficient script yielding API
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
Promise queue with concurrency control
The smallest and simplest JavaScript priority queue
A simple tool to keep requests to be executed in order.
queue-lit is a tiny queue data structure in case you `Array#push()` or `Array#shift()` on large arrays very often
Next tick shim that prefers process.nextTick over queueMicrotask for compat
Simple JS queue with auto run for node and browsers
In memory queue system prioritizing tasks
Promise-based queue
The fastest javascript implementation of a double-ended queue. Used by the official Redis, MongoDB, MariaDB & MySQL libraries for Node.js and many other libraries. Maintains compatability with deque.
LRU Queue
Sequential asynchronous lock-based queue for promises
Simple JS queue with auto run for node and browsers
asynchronous function queue with adjustable concurrency
Fast, in memory work queue
A promise based, dynamic priority queue runner, with concurrency limiting.
Microsoft Azure Storage SDK for JavaScript - Queue