项目作者: mathquis

项目描述 :
Hermes protocol for Node.js using MQTT
高级语言: JavaScript
项目地址: git://github.com/mathquis/node-hermes-protocol.git
创建时间: 2020-02-24T10:24:26Z
项目社区:https://github.com/mathquis/node-hermes-protocol

开源协议:

下载


node-hermes-protocol

npm version

Hermes protocol for Node.js using MQTT

Installation

  1. npm i @mathquis/node-hermes-protocol

Usage

  1. const Hermes = require('@mathquis/node-hermes-protocol')
  2. const client = Hermes({
  3. mqtt: {
  4. host: 'mqtt://localhost:1883'
  5. }
  6. })