1.0.4 • Published 6 years ago
@jace1995/readline v1.0.4
Async readline for Node.js console
Install
npm i -S @jace1995/readline
Usage
import readline from '@jace1995/readline';
(async () => {
const username = await readline('What is your name?:\n');
console.log(`Hello, ${username}!`);
})();