1.2.0 • Published 1 year ago
@mediisci/mqttipc-core v1.2.0
hunt.node.mqtt-ipc
For usage
Install
To install the mqtt-ipc
module, run the following command:
npm install https://github.com/MEDIISCI/hunt.node.mqtt-ipc.git
Import
To import the module:
import MQTTCore from 'hunt.node.mqtt-ipc';
See basic usage examples in test files.
For development
Build
npm run build
Simple tests
Modify _tests/simple/config.default.ts
to setup basic configuration.
To test basic connection and functionality, run the following command:
node _dist/_tests/simple/test.js
To test basic invoke between clients, copy the test file and only keep the invoke()
related codes.