开发者

ipython equivalent for javascript/coffeescript for node.js? [closed]

开发者 https://www.devze.com 2023-03-07 05:10 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

开发者_开发百科 Improve this question

More specifically, is there a REPL that has (more) colorful output, pretty printing, tab completion and the other goodies that ipython has for node.js javascript/coffeescript?


I've recently started a project to provide an enhanced, extensible, embeddable interactive interpreter for multiple languages running on Node (including built-in support for CoffeeScript) here:

http://danielgtaylor.github.com/nesh/

It's pretty basic at the moment but it already provides a nice base with multi-language support and an asynchronous plugin architecture, a small set of built-in utility functions, etc. Let me know if there are any specific features you are looking for :-)


To my knowledge, node and coffee are the only full-featured command-line REPLs for Node.js and CoffeeScript (respectively) right now. In their latest iterations, both offer some degree of colorful output, pretty printing, and completion.


This is the best REPL available - https://github.com/princejwesley/Mancy


Ankit, I was looking for exactly the same answer and ended up implementing it, perhaps it could be helpful for you as well: https://github.com/mksenzov/i.js


Have you tried the console in Chrome Dev Tools?
or this one: http://jsconsole.com/


Ok so for input commands history you can use this:

http://blog.doteight.com/blog/2011/01/16/rlwrap-and-node/

but this way the tab completion doesn't work...

anyone know how to call node interpreter with tab autocomletion turned on?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号