ijs, which is a link to
lib/kernel.js by means of the
Kernel class. The CoffeeScript kernel, jp-coffeescript, and the Babel kernel, jp-babel, share a significant amount of the code with
lib/kernel.js. To facilitate the reuse of this shared code, the
Kernel class will be moved into its own
npm package in the near future.
Kernel class depends on the
nel package defines
Session, a class that upon instantiation starts a small
Session instance and
lib/nel_server.js communicate by means of an IPC channel. The
Session instance sends
lib/nel_server.js three strings per request:
action is a string that determines the type of request: execution, completion or inspection.
id is a string that identifies the request.
lib/nel_server.js responds to the request with either a SuccessResult or an ErrorResult. Each response contains the property
id set to the request
id, so that the
Session instance can invoke the callbacks associated with the request.
The interface between the classes
Session is documented here.
jmp package is wrapper around the package
node-zmq that transparently encodes/decodes Jupyter-protocol messages over a ZMQ socket. See the JSDoc-generated documentation here for further details.