coleccionista

Helper class that streams files one by one.

npm install coleccionista
2 downloads in the last week
9 downloads in the last month

Coleccionista

Helper stream class that streams files or other streams one by one in one stream.

Usage

var Coleccionista = require('coleccionista');

var stream = new Coleccionista(filesOrStreams, options);
//filesOrStreams — array of pathes to files or array of streams
//options — options for file streams 

// now we can use it like usual stream
stream.pipe(otherStream);

Additional events

  • itemstart — triggers when new file open
  • itemend — triggers when file stream end
npm loves you