Hacker News new | ask | show | jobs
by madjam002 712 days ago
Is there something like Jupyter for Javascript/Typescript, ideally self hosted? At the moment I just do data science using one off scripts in NodeJS but seeing these notebook style formats recently where different chunks of code appear to be snapshotted and then visualisations can be easily integrated looks quite nice.
4 comments

Yes. You can use Jupyter notebooks with both JavaScript and TypeScript. Such support is from Deno for example [0]

[0] https://deno.com/blog/v1.37

You might want to check out Observable - not sure about self hosting but js based and has notebooks with inline plots and all that jazz. https://observablehq.com/documentation/notebooks/
We are building one right now. It's very early and we have only "soft launched", but you can check it out here.

https://github.com/srcbookdev/srcbook

Not exactly a notebook but Quokka gives you that REPL playground experience.