3 ms·
Ask HN: Is there a good Node.js equivalent of ipython?
When working with Python and JavaScript I spend most of my time in an interactive prompt: ipython for Python and the Chrome DevTools for JavaScript.
What's the best interactive REPL for working with Node.js? My ideal solution would look like ipython on the command-line - I like the option of running via SSH so browser or GUI environments aren't ideal, but I'd like to know the best options there as well.
- deepakkarki 10y agoThere is a Node.js kernel available for the Jupyter frontend! https://github.com/notablemind/jupyter-nodejs https://github.com/notablemind/jupyter-nodejs Edit : for command line like app there seems to be https://github.com/princejwesley/Mancy https://github.com/princejwesley/Mancy
- nishs 10y agoThere's RunKit [0], previously called Tonic. It primarily runs in a browser. You can use npm packages by calling require. They provide an API endpoint for command-line output [1]. Here's an in-browser example [2]. [0] https://runkit.com https://runkit.com [1] https://runkit.com/docs/endpoint https://runkit.com/docs/endpoint [2] https://runkit.com/nicole/solve-a-cubic-equation https://runkit.com/nicole/solve-a-cubic-equation
- cjbprime 10y agoAttaching the Chrome DevTools to a Node process (perhaps even one on a remote host?) Is probably your best bet here.
- chovy 10y agoNot sure what ipython is. Is this some sort of debugger?