A lightweight RabbitMQ wrapper for Node.js that provides simplified publisher and listener interfaces. Version 1.0.9, released with infrequent updates. Supports configurable queues, logging, and message persistence. Differentiates from amqplib by abstracting connection and channel management into a simple callback-based API. Primarily designed for internal use in the Devbox ecosystem.
npm install devbox-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows full setup: config object, listener with message handling, and publisher with callback.
Provide a valid AMQP URI, e.g., 'amqp://user:pass@host:5672/vhost'.
Always call removeFromQueue() after processing to avoid message accumulation.
Use: const amqp = require('devbox-queue')(config);Ensure RabbitMQ is running and URI config is correct.