Polyglot SocketIO server that allows cross-language communication via JSON
Installation
npm i --save poly-socketio
Usage
This is used in AIVA to communicate JSON data among the Nodejs, Python and Ruby runtimes.
const polyIO = const IOPORT = 6466var ioPromise = polyIOpolyIO // this exposes a global.client var msg = input: 'hello js' to: 'echo.js' intent: 'ping'globalclient