Interactive JavaScript kernel for IPython
npm install ijsAn environment for interactive authoring and executing JavaScript code using a
notebook metaphor, built on top of IPython.
An ijs notebook is powered by a javascript kernel written in node.js (and
replaces the standard python kernel). A kernel runs behind the scenes and
executes the code you write in notebooks. The notebook displays the outputs
generated by your code.
You can use node.js APIs, as well as the large library of node.js modules
in your notebooks. You can also author client-side HTML and JavaScript to
run code within the browser. JavaScript is truly universal!
!Hello World using node.js APIs and qr-image node module
ijs node module globally and start the notebookijs command. sudo npm install -g ijs
ijs
Then browse to http://localhost:9999.
The tool will create a notebooks directory within the specified working
directory.
Note: If you don't already have node.js and IPython installed, you'll need
to do so first. Unfortunately setting these up can be a bit involved. This page
might help: http://ipython.org/install.html ... as of right now ijs requires
IPython v2.4.1. Support for 3.x is coming.
docker pull nikhilk/ijs
docker run -i -p 9999:9999 -v
And then browse to http://localhost:9999 and you're on your way.
%%json cell to easily declarerequest node module.%%html cell%%script block to use a variety of javascript