0.1.0 • Published 9 years ago

node-humix v0.1.0

Weekly downloads
2
License
Apache 2.0
Repository
-
Last release
9 years ago

Essentially, a Humix-Sense module communicate with other modules and the local controller using NATS-based pub/sub messaging modol : each module provide the information it collects by publishing 'event', while it also listen for 'command' to trigger actions the module supports.

This nodejs module provides an event-driven model to facilitate the creation of Humix-Sense modules. Basically, you need to proivde a config to specify 1. the name of the module 2. the commands the module accepts 3. the event the module generates 4. any child process the module depends upon ( optional )

The code could be found here : https://github.com/project-humix/node-humix