stream file contents and stuff
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.eslintrc
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

file-content-stream

Build Status npm install npm version js-standard-style License

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