A browser-based queue management library that stores jobs in localStorage and processes them asynchronously. Version 0.0.5-beta4 is a pre-release with basic FIFO/LIFO support, timeout, max job limits, and worker retry logic. Unlike server-side queues (Bull, Bee), this library runs entirely in the browser, using localStorage for persistence. It is not production-ready and has no recent updates.
npm install simply-queue-managerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers a worker class, creates a queue channel, starts listening, and adds a job.
Ensure handle() returns new Promise(...) with resolve(true/false) or reject.
Use Queue.register([{ handler: MyWorker }])Monitor localStorage size; consider clearing completed jobs manually.
Migrate to a maintained queue library like Bull (server) or localForage (browser).
Use import { Queue } from 'simply-queue-manager'Ensure channelA.add({ handler: 'SendEmail' }) matches the registered class name exactlyAlways resolve(true) on success, resolve(false) for retry, reject('reason') to skip