Easy integration of mubsub into socketstream
- 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.
Currently doesn't work due to bug in socketstream. Waiting on my pull request.
This is really just a wrapper to this very creative project.
MIT