nodecg/nodecg — pull request #7 by MattMcNam (2014-06-26 23:21:31+00:00)
Title: Finished basic Javascript API (#4)

Currently available:
- `nodecg.port`, `nodecg.host`
- `nodecg.sendMessage(messageName, messageData)`
- `nodecg.listenFor(messageName, function (data) { ... })`

Views have access to this object from HTML `