jupyter-transport-wrapper
Currently just provides a very simple layer on top of Jupyter ZMQ sockets. Will one day abstract over ZMQ or websockets for Jupyter.
Probably easier to use jupyter-session, which is built on this, for whatever you're doing.
Usage
var JupyterTransport = ; transport = version: 5 signature_scheme: 'sha256' key: '<the signing key>' transport: 'tcp' ip: '127.0.0.1' hb_port: 60868 control_port: 60869 shell_port: 60870 stdin_port: 60871 iopub_port: 60872 <'handle to kernel process, if available'>; // use wildcards to get all messages on a channeltransport; // send a JSON-formatted Jupyter message over the given channeltransport; // send the kernel an interrupttransport; // close the sockets and kill the kerneltransport;
JupyterTransport is an EventEmitter, so you can use any of these methods: https://github.com/asyncly/EventEmitter2