const reader = require("readline").createInterface(process.stdin) reader.on('line', data => { console.log(data) })