qrate is a Node.js queue library (v2.0.1, stable, low maintenance) that extends async.queue with configurable concurrency and rate limiting. It allows controlling the maximum number of workers running at any time and limiting the number of workers started per second. Key differentiators vs async: built-in rate limiting without external timers, and a drop-in replacement API. qrate uses an ESM-only module format, no TypeScript types shipped, and works in Node.js environments. It has no external dependencies.
npm install qrateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a queue with rate limiting (2 jobs/sec) and push 6 items. Worker simulates 100ms async work.
Use import instead of require, or use dynamic import: const qrate = (await import('qrate')).defaultUpgrade to v2 and switch to ESM imports.
Ensure your rateLimit value matches your desired jobs-per-second (not per minute).
Do not rely on pause/resume; manage concurrency externally if needed.
Install @types/qrate or declare a module: declare module 'qrate';
Change to import qrate from 'qrate' or use dynamic import().
Ensure you are using import qrate from 'qrate' (not { qrate }).Use import statement instead.
No dependency data recorded yet.