Skip to content

Concat files using streams. Especially built for concatenation of large files without running out of memory.

License

Notifications You must be signed in to change notification settings

andreicioban/file-concat-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-concat-stream

Concat files using streams. Especially built for concatenation of large files without running out of memory.

Install

npm install file-concat-stream

Dependencies

This package has no external dependencies and runs on "node": ">=0.12".

Usage

var concat = require('file-concat-stream')

concat(['users.sql', 'profiles.sql'], 'batch.sql', onSuccess, onError)

function onSuccess(){ console.log('Done!') }
function onError(error){ console.log('Something went wrong: ', error) }

Tests

Tests are written using mocha.

Coverage reports using istanbul.

npm test

Roadmap

  • Support detection of folders in the input.
  • Support patterns in the inputs.
  • Add benchmarks.

License

MIT

About

Concat files using streams. Especially built for concatenation of large files without running out of memory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published