embedded-queue is a job/message queue for Node.js and Electron that persists data using NeDb embedded database, eliminating the need for external processes like Redis or MySQL. Current stable version is 0.0.11 with low release cadence. Key differentiators are zero external dependencies for persistence (NeDb is embedded), and a simple API for creating jobs, processors, and event handlers.
npm install embedded-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic queue creation, job processing, event handling, job creation, and shutdown.
Always await Queue.createQueue() or handle the returned Promise.
Replace const EmbeddedQueue = require('embedded-queue') with const { Queue, Event } = require('embedded-queue').Wrap synchronous return in Promise.resolve() or make the processor async.
Consult the event handler signature table in the README before implementing handlers.
Use const { Queue, Event } = require('embedded-queue'); or import { Queue } from 'embedded-queue';Make sure to await the Promise: const queue = await Queue.createQueue({...});