Fast and easy IPC for node.
Installation
npm install sibling
Usage
Master process code, runner.js.
var Vow = UserSibling = ; // Local UserSibling instance usage.var user = UserSibling;Vow; // Child process UserSibling instance usage.var userSibling = UserSibling;Vow;
Child/Master shared code, user.js.
var sibling = Vow = ; moduleexports = siblingdeclare { this_name = name; } { return this_name; } { var promise = Vow; ; return promise; } { throw 'Private info'; } { return Vow; };