1

I want to run a nodeJS application with my own very simple console, so my question is how can I achieve it in a straightforward way (typical of any programming language).

I've seen articles like How To Read User Input With NodeJS but I am not sure if there is a simple way already included.

1
  • I found that the best approach to do it, changing the original requirment, is to open a line oriented socket/stream using github.com/jonseymour/node-lines-adapter and to use the console connect via telnet. Commented Aug 10, 2011 at 17:34

1 Answer 1

1

It looks unfinished, but it appears NodeJS does have a simpler way with its Readline library in version 5.3.

Other than that, I think the article you linked to covers the basics pretty well.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.