Crazydogs / stream-chunk2line

A transform stream,transrom a file readable stream to a stream with one line per chunk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stream-chunk2line

一个 Transform 流,用于将 fs.createReadStream() 生成的流转化为每个 chunk 包含一行的流。

PS:如果读取的文件一行很长,并不适合使用这个项目。

About

A transform stream,transrom a file readable stream to a stream with one line per chunk


Languages

Language:JavaScript 100.0%