An open API service indexing awesome lists of open source software.

https://github.com/strongloop/strong-pubsub-redis

Redis adapter for strong-pubsub
https://github.com/strongloop/strong-pubsub-redis

Last synced: 4 months ago
JSON representation

Redis adapter for strong-pubsub

Awesome Lists containing this project

README

          

# strong-pubsub-redis

**[Redis](http://redis.io/) `Adapter` for strong-pubsub**

## Installation

```
$ npm install strong-pubsub-redis
```

## Use

```js
var Client = require('strong-pubsub');
var Adapter = require('strong-pubsub-redis');

var client = new Client({host: 'http://my.message-broker.com', port: 3000}, Adapter);

client.publish('my topic', 'my message');
```