First get jupyter-nodejs and install it. Then the jupyter notebook should automatically recognize it.
var os = require('os')
os.hostname()
console.log('Hello NodeJS')
Hello NodeJS
%load_ext babel
%%babel
const m = () => 34
m()
34
%%babel
class Something {
constructor() {
console.log('Welcome!')
}
doit() {
return false
}
}
%%babel
new Something().doit()
Welcome!
false
If you want faster load times, you can run your own Himera server locally and use that url here.
%load_ext clojurescript http://himera-emh.herokuapp.com
%%clojurescript
(map #(+ % 23) [1 2 3])
(24 25 26)