then-queue
JSON →A simple promise-based asynchronous queue for Node.js, version 1.3.0. It provides a basic FIFO queue with push and pop methods, where pop returns a promise that resolves when an item is available. The queue length can be negative if pop is called more times than push, which may be surprising. It uses an event-driven approach (length-changed event) for managing workers. Since it is lightweight and minimal, it suits simple async workflows where a full-featured library like async.queue or bull is overkill. The package has no dependencies and is small, but is in maintenance mode with no recent updates since 2015. It does not support backpressure, concurrency limits, or persistence.