0.2.1 • Published 10 years ago
ss-mubsub v0.2.1
ss-mubsub
Easy integration of mubsub into socketstream
Usage
- Add this package to your
package.json
and donpm install
- Add this line to your
app.js
:
ss.publish.transport.use(require('ss-mubsub'), {
host: '127.0.0.1',
port: 27017,
db: 'example',
options: {}});
The parameters above are the defaults. You only need to specify that which you want to change.
Issues
Currently doesn't work due to bug in socketstream. Waiting on my pull request.
License
MIT