node-byline icon indicating copy to clipboard operation
node-byline copied to clipboard

How does this compare to node.js readline?

Open jtara1 opened this issue 2 years ago • 0 comments

https://nodejs.org/docs/latest-v14.x/api/readline.html#readline_example_read_file_stream_line_by_line

node.js docs say

Currently, for await...of loop can be a bit slower. If async / await flow and speed are both essential, a mixed approach can be applied:

and it seems to be an exact replacement for this package, byline. Are there use cases where one may work while the other doesn't. Any benchmarking?

jtara1 avatar Mar 24 '22 23:03 jtara1