R
R
ratatyq2017-01-15 19:07:09
Node.js
ratatyq, 2017-01-15 19:07:09

What is the name of the npm package?

Hello, maybe someone knows the name of the package that can process commands in a running node js application? For example, I run the application (nodejs app.js) and then in the console line where I launched this application I enter, for example, status and it executes this command and displays some kind of status, etc...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2017-01-15
@ratatyq

The standard library has
https://nodejs.org/api/readline.html
or
https://www.npmjs.com/package/prompt

N
nonlux, 2017-01-16
@nonlux

https://github.com/dthree/vorpal

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question