repl.it
@mcuringa/

prompt

Nodejs

A better prompt() function for reading input.

fork
loading
Files
  • index.js
  • Packager files
  • package.json
index.js
1
2
3
4
5
6
7
8
// don't change this...it makes a better prompt
// --------------------------------------------
const readline = require("readline-sync");
const prompt = (text)=>readline.question(text + "\n");
// ============================================


Fetching token
?