# amqp-node/amqplib

AMQP 0-9-1 library and client for Node.JS

Repository: https://github.com/amqp-node/amqplib
Canonical: https://ross.abutalabs.com/products/amqplib
Homepage: https://amqp-node.github.io/amqplib/
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: amqp, rabbitmq-client, amqp-0-9-1, nodejs, rabbitmq
Last push: 2026-05-10T22:20:53+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 81, release rhythm 83, longevity 100
- inputs: {"age_days": 4831, "days_push": 115, "days_rel": 115, "gap_med": 0.0, "n_releases_24m": 3}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3847, forks 470 (observed 2026-08-28T04:08:24.171167+00:00)

## What it is
amqplib is an AMQP 0-9-1 library and client for Node.js, providing both low-level protocol machinery and a high-level client API. It supports both callback and promise-based APIs for connecting to AMQP brokers such as RabbitMQ.

## Use cases
- connect to RabbitMQ from Node.js
- publish messages to an AMQP queue
- consume messages from a RabbitMQ queue
- implement task queues with AMQP 0-9-1
- build pub/sub messaging with exchanges
- integrate RabbitMQ tutorials examples into an app

## When to choose
- you need a mature, production-used AMQP 0-9-1 client for Node.js 18+
- you want both low-level protocol access and a stable high-level API
- you need RabbitMQ 4.1+ compatibility
- you prefer a choice between promise and callback APIs

## When to avoid
- you need AMQP 1.0 or AMQP 0-10 protocol support
- you want a higher-level abstraction hiding exchanges, queues, and channels
- you are not using Node.js

## Facets
- artifact type: library
- maturity: stable
- function: message-queue, http-client
- domain: backend, developer-tools
- platform: cross-platform
- tags: amqp, rabbitmq, amqp-0-9-1, message-broker-client, promise-api, callback-api, messaging, nodejs

## Member repositories
- amqp-node/amqplib (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:24.171167+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:26:00.007271+00:00, confidence not recorded.
  - readme: https://github.com/amqp-node/amqplib (fetched 2026-08-28T04:08:24.171167+00:00, sha 8cfb75fcdd5a)
  - homepage: https://amqp-node.github.io/amqplib/ (fetched 2026-08-29T09:20:58.151328+00:00, sha b0a576d68e2c)
  - registry_npm: https://registry.npmjs.org/amqplib (fetched 2026-08-29T09:20:58.153985+00:00, sha 968a7ad52832)
- Data as of 2026-08-30T08:39:29.467469+00:00.
