# mqclient

> Client for various message queues

Latest version **0.0.4** (published 2015-03-09) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2015-03-09 |
| First published | 2015-03-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | hacksparrow |

## Links

- npm: https://www.npmjs.com/package/mqclient
- Repository: https://github.com/hacksparrow/mqclient
- Issues: https://github.com/hacksparrow/mqclient/issues
- npm.io page: https://npm.io/package/mqclient

## Dependencies (1)

- [amqplib](https://npm.io/package/amqplib.md) ^0.3.1

## Recent versions

- 0.0.4 (latest) — 2015-03-09
- 0.0.3 — 2015-03-09
- 0.0.2 — 2015-03-03
- 0.0.1 — 2015-03-03

## README

# mqclient

Client for various message queues. Currently supports only RabbitMQ.

## Example

Subscriber

```
var mqClient = require('mqclient/amqp')

mqClient.sub('channel-abc', function (err, data) {
  if (err) throw new Error(err)
  else console.log('Data:', data)
})

```

Publisher

```
var mqClient = require('mqclient/amqp')

mqClient.pub('channel-abc', 'HEY HO!', function (err, msg) {
  if (err) throw new Error(err)
  else console.log('Published:', msg)
})
```

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