# rbtmq

> AMQP client

Latest version **2.0.0** (published 2018-02-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install rbtmq
pnpm add rbtmq
yarn add rbtmq
bun add rbtmq
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2018-02-08 |
| First published | 2018-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 22.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alexandr Voronkin |
| Maintainers | avoronkin |
| Keywords | amqp, amqplib, rabbitmq, fluent, awesome |

## Links

- npm: https://www.npmjs.com/package/rbtmq
- npm.io page: https://npm.io/package/rbtmq

## Dependencies (2)

- [amqplib](https://npm.io/package/amqplib.md) ^0.5.2
- [bluebird](https://npm.io/package/bluebird.md) ^3.5.1

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads
- [@react-md/material-icons](https://npm.io/package/@react-md/material-icons.md) — 1.6K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2018-02-08
- 1.0.0 — 2018-02-06

## README

```js
const mq = new Rbtmq()

const config = {
    exchanges: [
        {
            name: 'test-exchange',
            type: 'topic',
            options: {
                autoDelete: true
            },
            queues: [
                {
                    name: 'test-queue',
                    pattern: 'path',
                    options: {
                        autoDelete: true
                    }
                }
            ]
        }
    ]
}
const data = {test: 'data'}
const spy = sinon.spy(function (msg) {
    assert.deepEqual(msg.body, data)
    msg.ack(false)
})

await mq.boot(config)

await mq.sub('test-queue', spy)
await mq.pub('test-exchange', 'path', data)

```

---
_Source: https://npm.io/package/rbtmq · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
