Registry / devops / node-red-contrib-memory-queue

node-red-contrib-memory-queue

JSON →
library3.0.0jsnpmunverified

A Node-RED node that provides an in-memory queue with configurable size limits and overflow behavior. Current stable version is 3.0.0, released with features like queue size limiting, discard-oldest-on-full mode, a resend node, status updates, and deep cloning for immutability. It is a lightweight alternative to Redis-backed queues, requiring no external dependencies. Installation via npm or Node-RED palette manager.

npm install node-red-contrib-memory-queue
INSTALL
IMPORT
SIG · NODE-RED-CONTRIB-M
N
node-red-contrib-memory-queue
devopsjavascriptv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Shows that node-red-contrib-memory-queue is used via Node-RED flow editor, not imported in code.

// This is a Node-RED node; usage is via the editor. // Example: drag 'queue in' and 'queue out' nodes, link with a unique config name. // No JavaScript import required.
Debug
Known issues
breakingIn v2.0.0, the entire msg object is stored in the queue, not just the payload. Existing flows that expect only payload may break.
fix
Update flow logic to handle entire msg object when dequeuing.
affects: >=2.0.0
gotchaQueue configuration name must be unique per queue instance. Reusing a name across different flows will share the same queue.
fix
Assign a distinct configuration name for each intended queue.
affects: >=1.0.0
deprecatedNo deprecated features in current version.
Errors
Common errors & fixes
TypeError: Cannot read property 'name' of undefined
Queue configuration not set or missing name property.
fix
Ensure the queue config node has a unique name defined.
Error: Queue is full
Queue size limit reached and overflow behavior set to 'ignore'.
fix
Increase queue size limit or change overflow behavior to 'discard oldest'.
Upgrade
Version history
3.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources