mors-sub

0.1.0 • Public • Published

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: #)

/mors-sub/

    Package Sidebar

    Install

    npm i mors-sub

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • bergos