1.0.1 • Published 6 years ago
simple-readline v1.0.1
csimple-readline
A simple module to use readline in node
Example
Basic Usage
await readline() // returns a string
Echo input
const readline = require("simple-readline");
(async() => {
while(true) {
console.log(await readline());
}
})();
If two readlines are called at the same time, the one called first will be returned first