Node.js bindings for the Bellite.io desktop application toolkit using JSON-RPC2-based message passing API. This module wraps the IPC interface, providing complete access to the Command API and Events for creating rich desktop applications.
After creating a Bellite object, the module will use the
credentials to connect with the host Bellite process and authorize the
two-way JSON-RPC2 connection.
"use strict";var bellite=app = bellite;appready;
The Bellite object extends EventEmitter, and reflects all Bellite
.emit calls. For each IPC method call, a
promise/A+ instance is returned, to be fullfilled or rejected
after the Bellite host process responds.