Concat files using streams. Especially built for concatenation of large files without running out of memory.
npm install file-concat-stream
This package has no external dependencies and runs on "node": ">=0.12"
.
var concat = require('file-concat-stream')
concat(['users.sql', 'profiles.sql'], 'batch.sql', function(){ console.log('Done!') })
Tests are written using mocha.
Coverage reports using istanbul.
npm test
- Support detection of folders in the input.
- Support patterns in the inputs.
- Add benchmarks.
MIT