Live data from Hacker News

Node.js Notebooks

github.com

11–20 of 22 posts

Re: Node.js Notebooks

#11
post #5

I'm a huge fan of Don Jayamanne. He also made the original python extension for vscode. I always wondered why no one made a better node.js repl. I wish there was something like ipython for nodejs.

The official Python VSCode extension from Microsoft is itself a further development of that one (indeed, you can still see that it's a fork on GitHub: https://github.com/microsoft/vscode-python).

Re: Node.js Notebooks

#13

What are some use cases you use this for or could use this for, for an average developer or generic things.

not sure myself, but could be useful to make some quick visualization of some database. often I just want to know some random stuff, so I'll use a SQL query, this looks like a neat way to do that, get some graphs too.

Re: Node.js Notebooks

#18

What are some use cases you use this for or could use this for, for an average developer or generic things.

Something I've experimented a bit with in the past is having something like Storybook for API modules. Rather than jumping out to postman, you could just have your notebook that calls your API functions. So far the stumbling block is always ES Modules. Usually the client code uses them and Node always makes them a pain to deal with. Hopefully the situation will be better in another couple of years.

Re: Node.js Notebooks

#20
I realise this is probably obvious to most people who're familiar with the author's work, but I was looking at the README trying to figure out if this is just a VS Code thing or not. It doesn't say (though it has screenshots of VS Code, nothing in the README says it's a VS Code extension). It does say it in the "about" section of the repo, which I rarely actually look at on Github.
Post reply on HN