990 B
990 B
ThunderNetworkRaD's Readline-Sync
Inputs
- Simple
Simple
var readlineSync = require('@thundernetworkrad/readline-sync');
var userName = readlineSync.question('Username ');
console.log('Hi ' + userName + '!');
var password = readlineSync.question('Password ', {
hideEchoBack: true // The typed text on screen is hidden by `*`.
});
console.log('You logged in as ' + userName + ' with your password *********');
@thundernetworkrad/readline-sync