a variable then?
const { createInterface } = require('readline'); (async () => { const rl = createInterface(process.stdin); console.log("send messages to client"); for await (const line of rl) { console.log("message:" + data); // do stuff with line } })();
Thanks bro this help me I’m gonna check it
Обсуждают сегодня