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
- Host: GitHub
- URL: https://github.com/strongloop/strong-pubsub-redis
- Owner: strongloop
- License: other
- Created: 2015-03-17T20:34:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2021-03-24T07:52:55.000Z (almost 5 years ago)
- Last Synced: 2025-06-05T13:47:04.753Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 11
- Watchers: 20
- Forks: 9
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
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');
```