strong-pubsub-mqtt

0.1.0 • Public • Published

strong-pubsub-mqtt

An MQTT Adapter for strong-pubsub

Installation

$ npm install strong-pubsub-mqtt

Use

var Client = require('strong-pubsub');
var Adapter = require('strong-pubsub-mqtt');

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

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

/strong-pubsub-mqtt/

    Package Sidebar

    Install

    npm i strong-pubsub-mqtt

    Weekly Downloads

    279

    Version

    0.1.0

    License

    Dual MIT/StrongLoop

    Last publish

    Collaborators

    • dhmlau
    • 0candy
    • hacksparrow
    • rfeng
    • bajtos
    • rmg
    • jerry-apic
    • theprez