{"id":15426930,"url":"https://github.com/donjayamanne/typescript-notebook","last_synced_at":"2025-04-12T07:22:14.276Z","repository":{"id":43305996,"uuid":"341094861","full_name":"DonJayamanne/typescript-notebook","owner":"DonJayamanne","description":"Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc","archived":false,"fork":false,"pushed_at":"2022-02-21T09:57:20.000Z","size":28651,"stargazers_count":932,"open_issues_count":57,"forks_count":41,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-03T12:07:43.977Z","etag":null,"topics":["danfojs","jupyter","notebook","plotly","tensorflowjs","typescript"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=donjayamanne.typescript-notebook","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DonJayamanne.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-22T05:56:10.000Z","updated_at":"2025-03-22T23:19:03.000Z","dependencies_parsed_at":"2022-08-23T06:00:32.406Z","dependency_job_id":null,"html_url":"https://github.com/DonJayamanne/typescript-notebook","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonJayamanne%2Ftypescript-notebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonJayamanne%2Ftypescript-notebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonJayamanne%2Ftypescript-notebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonJayamanne%2Ftypescript-notebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DonJayamanne","download_url":"https://codeload.github.com/DonJayamanne/typescript-notebook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248531025,"owners_count":21119681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["danfojs","jupyter","notebook","plotly","tensorflowjs","typescript"],"created_at":"2024-10-01T17:58:21.092Z","updated_at":"2025-04-12T07:22:14.256Z","avatar_url":"https://github.com/DonJayamanne.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Notebooks\n## Features\n* Enhanced REPL experience for Node.js in Notebooks (with top level awaits)\n* Run \u0026 debug JavaScript, TypeScript code in node.js\n* Built in support for typescript (ships with [TypeScript](https://www.typescriptlang.org/) \u0026 [ts-node](https://typestrong.org/ts-node/)).\n* Built in support for [plotly](https://plotly.com/javascript/) (plotly.js is shipped with the extension)\n* Rich (inline visualizations) using [@tensorflow/tfjs-vis](https://www.npmjs.com/package/@tensorflow/tfjs-vis) \u0026 [Tensorboards](https://www.tensorflow.org/tensorboard)\n* Excellent support for [danfo.js](https://danfo.jsdata.org/) (rich HTML output and plots)\n* Excellent support for [arquero](https://uwdata.github.io/arquero/) (rich HTML output)\n* Run shell scripts within the notebook cell.\n* Quickly prototype and view HTML/JavaScript/CSS output\n* Support for user input using [readline](https://nodejs.org/api/readline.html#readline_readline_createinterface_options)\n\n\nPackages such [plotly](https://plotly.com/javascript/), [tfjs-vis](https://www.npmjs.com/package/@tensorflow/tfjs-vis) \u0026 [danfo.js](https://danfo.jsdata.org/) support rich visualization only in the browser,\nhowever, this extension leverages the power of Notebooks to provide the same rich visualizations when targeting node.js.\n\nUse the command `Open a sample node.js notebook` to open a sample notebook to get started with plotly.js, danfo.js, tensorflow.js, etc.\n\n## Getting started\n* For a REPL experience use the command `Open Node.js REPL`\n    * Consider installing the [Jupyter](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter) extension for an enhance user interface (toolbars).\n* For a notebook experience, create a file with the extension `*.nnb`, e.g. `sample.nnb`\n    * Or use the menu item `New File...` to create a Node.js notebook\n\n\n![Repl](https://raw.githubusercontent.com/DonJayamanne/typescript-notebook/main/images/REPL.gif)\n![Demo](https://raw.githubusercontent.com/DonJayamanne/typescript-notebook/main/images/demo.gif)\n\n\n## Examples\n* Use the command `Open a sample node.js notebook` to open a sample notebook.\n* Use the command `Welcome: Open Walkthrough...` to checkout the samples.\n\n## Requirements\n* node.js \u003e= 12\n* node.js needs to be in the current path\n\n## Roadmap\n* Open a plain js/ts file as a notebook \u0026 vice versa.\n* Better renderers for tabular data (arquero, danfo.js, etc)\n* [Vega](https://vega.github.io/vega/) plots without having to install vega\n* Custom node arguments\n\n\n### Known issues, workarounds and technical details\n* See [here](https://github.com/DonJayamanne/typescript-notebook/wiki/Kernel-behaviour-(known-issues-\u0026-workarounds)) for more details\n\n\n## Thanks\nThanks to the various packages we provide integrations with which help make this extension useful:\n* [ts-node](https://typestrong.org/ts-node/)\n* [Tensorflow.js](https://www.tensorflow.org/js)\n* [plotly](https://plotly.com/javascript/)\n* [danfo.js](https://danfo.jsdata.org/)\n* [node-pty](https://github.com/microsoft/node-pty)\n* [arquero](https://uwdata.github.io/arquero/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonjayamanne%2Ftypescript-notebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonjayamanne%2Ftypescript-notebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonjayamanne%2Ftypescript-notebook/lists"}