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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

Package Sidebar

Install

npm i file-content-stream

Weekly Downloads

18

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jarofghosts