hermesjs-mqtt
v2.2.0
Published
MQTT adapter for HermesJS
Downloads
15
Readme
hermesjs-mqtt
MQTT adapter for HermesJS.
Installing
npm install hermesjs-mqtt
Example
const Hermes = require('hermesjs');
const MqttAdapter = require('hermesjs-mqtt');
const app = new Hermes();
app.addAdapter(MqttAdapter, {
url: 'mqtt://test.mosquitto.org',
topics: ['hola/+', 'adios/+'],
});
See a working example here.
Author
Fran Méndez (fmvilas.com)