straming in node using createInterface() of readLine module and also it is an event object . Also has .on()
Tue Aug 31 2021 01:44:52 GMT+0000 (Coordinated Universal Time)
Saved by @faisals #node #filesystem
read files line-by-line, we can use the .createInterface() method from the readline core module. .createInterface() returns an EventEmitter set up to emit 'line' events:
Comments