# node-messageq1

> message queue service

Latest version **0.0.6** (published 2018-11-13) · 0 weekly downloads

## Install

```sh
npm install node-messageq1
pnpm add node-messageq1
yarn add node-messageq1
bun add node-messageq1
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2018-11-13 |
| First published | 2018-11-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 8.1.x |
| Dependencies | 2 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Shobhit Mishra |
| Maintainers | shobhitmshr002 |
| Keywords | mesageQ, nodeMQ, pubsub |

## Links

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

## Dependencies (2)

- [amqplib](https://npm.io/package/amqplib.md) ^0.5.2
- [node-messageq](https://npm.io/package/node-messageq.md) 0.0.5

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 0.0.6 (latest) — 2018-11-13

## README

A module for message queue with support of various popular MQ engines.

Install using
npm i node-messageq

Example:

var options = {'driver':'rabbitMQ','AMQP_URL':'amqp://guest:guest@127.0.0.1:5672'};
var mh = require('node-messageq')(options);
console.log('MH=====',mh);

setInterval(function(){
    mh.publishAsync('rewardsQueue',{key:'rewards',data:'hello rewards'},{persistent:true},function(result){
        console.log('after pub',result);
    })
}
,1000)



mh.publish('rewardsQueue',{key:'rewards',data:'hello rewards'},{persistent:true})

mh.consume('rewardsQueue', function(err, msg){
    console.log('consumed====1111',msg.content.toString());
});

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