Simple in-memory promise-based task queue for Node.js and browser with support for pausing, merging tasks, or retrying failed tasks. Current stable version is 1.8.0, released as needed. Key differentiators: lightweight, no external dependencies, supports task merging via key function, precheck step before each task, and fine-grained retry control (delay, ordering).
npm install suprqueueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a queue that fetches URLs sequentially with retry on failure.
Use correct destructuring: `const { Suprqueue } = require('suprqueue')`Always provide both `key` and `merge` options together if you intend to merge tasks.
Wrap the task in try/catch if you need to handle individual retry attempts.
Use `import { Suprqueue } from 'suprqueue'` instead of `import Suprqueue from 'suprqueue'`Check that you have installed 'suprqueue' (npm install suprqueue) and imported correctly: `import { Suprqueue } from 'suprqueue'`Use `retryBeforeOtherTasks` (camelCase) in options.
No dependency data recorded yet.