Coney is a simple queue library backed by RabbitMQ, designed for Node.js applications that require reliable message queuing with minimal configuration. Version 2.0.0 is the latest stable release, with no active release cadence documented. It supports basic queue operations (push, pop), retry with delay, and pub/sub patterns. Compared to full-featured RabbitMQ client libraries like amqplib, Coney provides a higher-level abstraction focused on simplicity. It ships with TypeScript types and requires amqplib as a peer dependency (^1.0.0). The library is MIT-licensed and maintained on GitHub.
npm install coneyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to instantiate Coney with an amqplib channel, create a queue, push and pop messages, and subscribe to a queue.
Use the constructor with a channel: new Coney(channel)
Do not use qos; configure prefetch on the channel directly via amqplib.
Implement reconnection logic in your application using amqplib's connection error events.
Ensure you await calls to push, pop, subscribe, etc.
Create a new channel and a new Coney instance.
Upgrade to v2 and use 'coney.queue()' as shown in the docs.
Run 'npm install amqplib' or 'yarn add amqplib'.