A lightweight, promise-based queuing library for scheduling async functions with configurable delays and priority levels. The package enables sequential execution of asynchronous tasks, supporting high-priority and low-priority queues to manage rate limits and background jobs effectively. Current stable version 1.0.3 features a simple API, TypeScript definitions, default queue sizes, and no external dependencies. It is ideal for scenarios like API rate limiting, database updates, or any sequential async processing where delay and priority control are needed.
npm install ev-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an EvQueue instance with 1s delay, adds a low-priority async task and a high-priority task, and logs their results.
Use import syntax instead of require().
Account for task execution time when setting delay to meet rate limits.
Stay updated with new releases and migrate when the rate-limit option is introduced.
Use 'const EvQueue = require("ev-queue").default' or switch to ESM import.Run 'npm install ev-queue' and ensure the import is correct.
Instantiate with 'new EvQueue(options)'.
No dependency data recorded yet.