Helper class that streams files one by one.


Streams files or other streams one by one in one stream.

let Coleccionista = require('coleccionista');
let stream = new Coleccionista(options);
// now we can use it like usual stream 
  • files — array of streams, array of files or wildcard string. For more info look minimatch documentation
  • path — optional, path to look for a files
  • stream — optional, read files stream options
  • ready — triggered when file list ready, returns list of files or streams
  • itemstart — triggered when new file begins
  • itemend — triggered when file stream ended
  • error — triggered on errors