realizehit-publisher

0.0.2 • Public • Published

publisher Build Status

realizehit publisher

This modules purpose is to be used from within your app in case you don't want to use server-api for publishing your payloads.

Probably you might want to use realizehit/realizehit instead.

Usage

Run as NPM module

npm i -g realizehit-publisher
var Publisher = require( 'realizehit-publisher' )
 
var publisher = new Publisher( 'redis://redis-host:6379' )
 
// Publish a payload into { foo: 'bar' } subscription
publisher.publish(
    { foo: 'bar' },
    'Hello world'
)

Contributing

Running with node

npm install
npm test

Readme

Keywords

Package Sidebar

Install

npm i realizehit-publisher

Weekly Downloads

0

Version

0.0.2

License

GPL-3.0

Last publish

Collaborators

  • cuss