- Node.js REPL experience in Notebooks (with rich output)
- Run & debug JavaScript, TypeScript code in node.js
- Built in support for typescript (ships with TypeScript & ts-node).
- Built in support for plotly (plotly.js is shipped with the extension)
- Rich (inline visualizations) using @tensforflow/tfjs-vis & Tensorboards
- Excellent support for danfo.js (rich HTML output and plots)
- Excellent support for arquero (rich HTML output)
- Run shell scripts within the notebook cell.
- Quickly prototype and view HTML/JavaScript/CSS output
Packages such plotly, tfjs-vis & danfo.js support rich visualzation only in the browser, wowever, this extension leverages the power of Notebooks to provide the same rich visualzations when targetting node.js.
Use the command Open a sample node.js notebook
to open a sample notebook to get started with plotly.js, danfo.js, tensorflow.js, etc.
- Create a file with the extension
*.nnb
, e.g.sample.nnb
- Or use the menu item
New File...
to create a Node.js notebook
- Use the command
Open a sample node.js notebook
to open a sample notebook. - Use the command
Welcome: Open Walkthrought...
to checkout the samples.
- node.js >= 12
- node.js needs to be in the current path
- Interactive Window experience
- Support user input (node.js
readline
for basic input in scripts) - Open a plain js/ts file as a notebook & vice versa.
- Better renderers for tabular data (arquero, danfo.js, etc)
- Vega plots without having to install vega
- Custom node arguments
- Support for observable inspector
- See here for more details
Thanks to the various packages we provide integrations with which help make this extension useful: