0.1.0 • Published 7 years ago

mors-sub v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

mors-sub

Express and mors inspired mqtt development framework running as mqtt client. Compared to mors, mors-sub connects to a broker instead of running a own broker. Currently it implements only a subset of mors.

Usage

The module returns a factory which requires an options object. The following options are available:

  • broker: The URL to the broker it should connect to.
  • topic: The topic the client will subscribe to. The routing can be used for further separation of the messages. (default: #)