Re: [nodejs] How to process a stream of lines from a file one-by-one?

13 views
Skip to first unread message

Ryan Schmidt

unread,
Apr 25, 2015, 8:09:49 PM4/25/15
to nod...@googlegroups.com

On Apr 24, 2015, at 9:36 AM, Marco Ippolito wrote:
>
> I'm trying to extract in "streaming-mode" a list of lines from a txt file and than process them one-by-one in order, for example (or could be something else) to detect the language.

Have you tried any of the existing npm modules that claim to do this, such as line-stream?

https://www.npmjs.com/package/line-stream


Reply all
Reply to author
Forward
0 new messages