Skip to content

Commit

Permalink
fix: updated docs with new package name
Browse files Browse the repository at this point in the history
  • Loading branch information
ernest-okot committed Apr 29, 2018
1 parent bdc6890 commit bbe47b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# @freelyformd/mq
# SugarMQ

A sweet syntax wrapper around amqplib. We use this with rabbitmq

## Installation

```
npm install @freelyformd/mq --save
npm install sugarmq --save
# or
yarn add @freelyformd/mq
yarn add sugarmq
```

## Usage

### Creating a topic consumer

```js
const {TopicConsumer} = require('@freelyformd/mq');
const {TopicConsumer} = require('sugarmq');

TopicConsumer.create()
.setExchange('exchange')
Expand All @@ -29,7 +29,7 @@ TopicConsumer.create()
### Creating a topic publisher

```js
const {TopicProducer} = require('@freelyformd/mq');
const {TopicProducer} = require('sugarmq');

TopicProducer.create()
.setExchange('exchange')
Expand Down

0 comments on commit bbe47b5

Please sign in to comment.