ipc-node
This package is a simple IPC implementation between Node and its child process (Golang binary) using the stdin
/ stdout
as the transport.
- Installation
npm install ipc-node-go #or yarn add ipc-node-go
- Useage
const IPC = //or const ipc = 'path-to-golang-bin'// start the child processlet arg = 'some-flags' 'or-anything'ipc// send a message to go processipc //listen for and eventipc// send and get an acknoledgement via a callbackipc
IPC is an EventEmitter.
MIT License