nitrogen-switch
v0.2.1
Published
This module adds support for switchCommand and switchStatus messages to a Nitrogen application or service. It also provides the SwitchManager class for interpreting message streams and driving the attached device.
Downloads
32
Readme
nitrogen-switch
This module adds support for switchCommand and switchStatus messages to a Nitrogen application or service. It also provides the SwitchManager class for interpreting message streams and driving the attached device.
How to use
- Add "nitrogen-switch" to the package.json for your service or application.
npm install
For browser based applications, add this module to the Nitrogen service. The service will automatically mixin this into the client library that is provided to the browser.