2
Reading Console Input using Node.js
vedprad1 (435)

Reading Console Input using Node.js

Is it possible to take in Console Input using Node.js? My way is not working.
The Repl

You are viewing a single comment. View All
3
Pythonier (299)

@vedprad1 Weird, try requiring readline-sync instead. ex:

const readline = require("readline-sync");
var name = readline.question("What is your name? ");