ipc-goddess

1.0.2 • Public • Published

ipc-goddess

This provides the IPC socket that all goddess apps on the same machine use to communicate with one another. For communications over the network, see comm-goddess.

Usage:

var ipc = require('ipc-goddess');

var config = {
  id: 'light-goddess',
  inputs: {
    'preset': 'comm-goddess'
  },
  outputs: [
    'channels'
  ]
};

ipc.initSocket(config);
ipc.emit('channels','Channel data');
ipc.on('preset', (data) => { console.log(data) });

Readme

Keywords

none

Package Sidebar

Install

npm i ipc-goddess

Weekly Downloads

3

Version

1.0.2

License

ISC

Last publish

Collaborators

  • met5678