qmetrics.net

amqplib

AMQP 0-9-1 client library for Node.js

amqplib screenshot

amqplib implements AMQP 0-9-1 messaging for Node.js, including high- and low-level client APIs. It targets brokers such as RabbitMQ and does not implement AMQP 1.0 or 0-10.

Overview

amqplib provides the protocol machinery and a ready-made client for AMQP 0-9-1 in Node.js. The design layers parsing, framing, connection state, and channel semantics so callers can build different client styles without baking in one opinionated API.

Client APIs center on Channel objects that expose exchanges and queues through method calls, with promise-based and callback variants for most RPC-style operations. Optional connection recovery can reconnect with configurable backoff, separate retry budgets for initial connect versus later drops, and custom delay strategies.

Operators must attach error listeners on connections and channels because unhandled error events can terminate the Node process. Additional handler-error listeners can capture throws from user event callbacks. Documentation covers confirm channels, buffer backpressure on publish, SSL parameters, and compatibility notes for recent RabbitMQ releases.

The project ships tutorial-style examples, API reference material, and troubleshooting guidance for common broker and networking misconfigurations.

Key features

  • AMQP 0-9-1 protocol implementation
  • Promise and callback client APIs
  • Opt-in automatic reconnection
  • Configurable reconnect backoff
  • Channel-centric messaging model
  • RabbitMQ tutorial port examples
  • Connection and channel error events
  • Separate initial connection retry budget

Use cases

  • Node.js producers and consumers for RabbitMQ
  • Work queues with AMQP brokers
  • Services needing reconnectable AMQP clients

Tags

Similar software

Socket.IO

Bidirectional real-time communication for web and Node

Socket.IO enables low-latency, event-based communication between clients and servers. It prefers WebSockets and falls back to HTTP long-polling when needed.

★ 63.3k⟳ 4 days agoMIT
Frameworks & PlatformsDesktop/CLI app

ntfy

HTTP pub-sub push notification service

Ntfy sends push notifications to phones and desktops via simple HTTP PUT or POST requests and a REST API, without requiring sign-up on the public host.

★ 35.8k⟳ todayApache-2.0

Celery

Distributed task queue for Python workers and brokers

Celery distributes units of work called tasks from client applications to worker processes through a message broker. It supports RabbitMQ, Redis, Amazon SQS, and other transports with retries and scheduling features.

★ 29.3k⟳ yesterdayBSD-3-Clause

NSQ

Realtime distributed message queue and pub-sub platform

NSQ is a distributed messaging system built for large-scale throughput. It avoids single points of failure and ships with official Go and Python client libraries.

★ 25.8k⟳ 3 months agoMIT

Redisson

Java client and real-time data platform for Valkey and Redis

Redisson is a Java client for Valkey and Redis with synchronous, asynchronous, reactive, and RxJava APIs. It adds distributed collections, locks, queues, caching helpers, and related services on top of standard Valkey or Redis deployments.

★ 24.4k⟳ 4 days agoApache-2.0

whatsapp-web.js

Node.js client for WhatsApp Web automation

whatsapp-web.js drives WhatsApp Web through Puppeteer so Node programs can send, receive, and manage chats with many web-client features. It targets multi-device accounts and documents session auth strategies.

★ 23k⟳ 3 days agoApache-2.0
Integration PlatformsDesktop/CLI app