Skip to content

Releases: notablemind/jupyter-nodejs

Shell scripting and `cd`

27 May 16:39
Compare
Choose a tag to compare

This release adds support for !some schell code and cd some/path

Installation is the same, just unzip it, and then run npm install && node install.js

First Release

22 Apr 05:51
Compare
Choose a tag to compare

Get it while it's hot! Only compatible with ipython 3.x

tar xf jupyter-nodejs-1.0.1.tgz
cd package
npm install && node install.js
ipython console --kernel nodejs

And viola!
image

Also, in the iPython notebook:
image

Supported features:

  • tab-completion (both for variables and paths)
  • error reporting
  • magics! The available extensions can be configured via package/config.js

Installation

node install.js [install-dir] will install the kernel.json file that ipython looks for. The default is for linux machines, ~/.ipython/kernels/nodejs/. You will have to specify an install dir for Mac and Windows (see the docs for info about what that should be)

BabelJS Magic for es6+ goodness

%load_ext babel and then

%%babel
class Awesome {
  constructor() {
    console.log('yeah!')
  }
}

Hovever: import ... syntax doesn't work because of live bindings foo, so just use require() normally and all will be well.

Clojurescript compilation via a himera server

%load_ext clojurescript http://himera-emh.herokuapp.com and then

%%clojurescript
(clojurey goodness)