jahewson/node-byline

How does this compare to node.js readline?

jtara1 opened this issue · 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?