Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

file-content-stream

1.0.0 • Public • Published

file-content-stream

Build Status npm install

usage

given a stream of file names, will output a stream of file contents in format:

{
    filename: '/path/to/file'
  , chunk: (chunk number)
  , data: (data chunk)
}

api

fileContentStream([splitOn]) -> DuplexStream

  • Where splitOn is an optional sequence to split file data by, defaults to /\r?\n/.

license

MIT

install

npm i file-content-stream

Downloadsweekly downloads

22

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar