Answer the question
In order to leave comments, you need to log in
How to enter a string into the console?
Using the simple-twitter module, I wrote a simple script that creates a tweet with the specified text in quotes. But I want to implement it so that when the script is run from the console, it would output console.log("what tweet to write"); and I would enter my string into some variable, so what is the method to enter strings and numbers into variables in node.js? I know that in js there is a confitm prompt, but they interact in the browser.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question