{"repo":"amqp-node/amqplib","free":true,"listed":false,"github":"https://github.com/amqp-node/amqplib","clone":"git clone https://github.com/amqp-node/amqplib.git","description":"AMQP 0-9-1 library and client for Node.JS","language":"JavaScript","stars":3849,"topics":["amqp","rabbitmq-client","amqp-0-9-1","nodejs","rabbitmq"],"license":null,"category":"dev-tools","readme_excerpt":"AMQP 0-9-1 library and client for Node.JS A library for making AMQP 0-9-1 clients for Node.JS, and an AMQP 0-9-1 client for Node.JS v18+. This library does not implement AMQP1.0 or AMQP0-10. npm install amqplib RabbitMQ Compatibility Only 0.10.7 and later versions of this library are compatible with RabbitMQ 4.1.0 (and later releases). Links [Change log][changelog] [GitHub pages][gh-pages] [API reference][gh-pages-apiref] [Troubleshooting][gh-pages-trouble] [Examples from RabbitMQ tutorials][tutes] Project status - Expected to work - Complete high-level and low-level APIs (i.e., all bits of the protocol) - Stable APIs - A fair few tests - Measured test coverage - Ports of the [RabbitMQ tutorials][rabbitmq-tutes] as [examples][tutes] - Used in production Still working on: - Getting to 100% (or very close to 100%) test coverage Callback API example Promise/Async API example Opt-in recovery Automatic recovery is available as an opt-in feature through connect options: Callback API supports the same option: Without recovery options, behavior is unchanged. Error handling in event handlers If a user-supplied event handler throws a synchronous error, the throw will propagate into amqplib internals. Depending on where in the call stack it escapes, this can silently swallow the error, or close the channel or connection. To avoid this, register a handler-error listener on the connection and on each channel. If a listener is present, amqplib will catch any throw from a user event handler","default_branch":null,"files":null,"tree":[],"storefront":"/r/amqp-node","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/amqp-node/amqplib/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}