Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc

License

NotificationsYou must be signed in to change notification settings

DonJayamanne/typescript-notebook

Repository files navigation

Features

  • Enhanced REPL experience for Node.js in Notebooks (with top level awaits)
  • Run & debug JavaScript, TypeScript code in node.js
  • Built in support for typescript (ships withTypeScript &ts-node).
  • Built in support forplotly (plotly.js is shipped with the extension)
  • Rich (inline visualizations) using@tensorflow/tfjs-vis &Tensorboards
  • Excellent support fordanfo.js (rich HTML output and plots)
  • Excellent support forarquero (rich HTML output)
  • Run shell scripts within the notebook cell.
  • Quickly prototype and view HTML/JavaScript/CSS output
  • Support for user input usingreadline

Packages suchplotly,tfjs-vis &danfo.js support rich visualization only in the browser,however, this extension leverages the power of Notebooks to provide the same rich visualizations when targeting node.js.

Use the commandOpen a sample node.js notebook to open a sample notebook to get started with plotly.js, danfo.js, tensorflow.js, etc.

Getting started

  • For a REPL experience use the commandOpen Node.js REPL
    • Consider installing theJupyter extension for an enhance user interface (toolbars).
  • For a notebook experience, create a file with the extension*.nnb, e.g.sample.nnb
    • Or use the menu itemNew File... to create a Node.js notebook

ReplDemo

Examples

  • Use the commandOpen a sample node.js notebook to open a sample notebook.
  • Use the commandWelcome: Open Walkthrough... to checkout the samples.

Requirements

  • node.js >= 12
  • node.js needs to be in the current path

Roadmap

  • 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

Known issues, workarounds and technical details

  • Seehere for more details

Thanks

Thanks to the various packages we provide integrations with which help make this extension useful:

About

Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp