about 8 years ago
I have found a tool that allows you to write and test Javascript quickly in iPython Notebook. The tool is called IJavascript. The project page has a very detailed installation guide for differet OS.
To install it on Mac:
1) Install ijavascript itself via npm:
npm install -g ijavascript
2) Install the dependencies via pip:
sudo pip install --upgrade ipython jinja2 jsonschema pyzmq
3) to run:
ipython ijs
Here is a screenshot of it running: