A lightweight promise queue for Node.js (v4+) that runs tasks with concurrency control, rate limiting, and priority support. Version 1.1.0 is the current stable release; updates are infrequent. Key differentiators include support for both simple task arrays and object-style configurations with custom process functions, as well as FIFO and priority queue modes. Unlike larger libraries like Bull or Bee-Queue, rp-queue is minimal and has no dependencies.
npm install rp-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic concurrency control and custom process function usage.
Ensure every task function returns a Promise.
Specify a limit > 1 for concurrency.
Use priority or separate ordering mechanism if needed.
Use 'const RPQueue = require('rp-queue')' or 'import RPQueue from 'rp-queue'.Install 'node-fetch' or use 'axios' in Node < 18.
Ensure tasks is an array or iterable of functions/items.
No dependency data recorded yet.