Awesome-nodejs: Any awesome CLI REPL to recommend?

Created on 22 Jun 2017  ·  10Comments  ·  Source: sindresorhus/awesome-nodejs

And therefore to add to the list. :+1:

Most helpful comment

Not sure what you mean by "proper REPL", but running node is a _proper_ node REPL.

All 10 comments

In terminal, type node

Much thanks. I meant a proper REPL, such as ptpython.

Try Mancy. And since it is an electron app, it belongs to the awesome-electron list. 😃

Thanks @florianb, I have seen this, but I prefer CLI stuff. Is there really nothing? I'll give it a try though.

You're welcome - but i guess i don't understand what you're missing in the native node repl? It has f.e. tab-completion, colors everything a node developer needs. 😬

Not sure what you mean by "proper REPL", but running node is a _proper_ node REPL.

@therealklanni a REPL repl :)

The only thing I wish the native node shell has is a better history, ex for when you define a function. Along the same lines, better multi-line editing.

I'm not sure a new shell is needed, maybe just an improvement to the native shell. @tleb what features do you feel the native shell is missing?

The features you mentioned and coloring on what we are writing, not just results, were mainly what I though about.

ptpython really is a good example of a great REPL as a CLI.

Agreed, syntax on the current command would be nice. I've used ptpython, and the builtin node CLI is already very close. You might try digging around the node issue tracker, they have a very active development community. The features you want might already be implemented, or you could implement it yourself :)

Was this page helpful?
0 / 5 - 0 ratings