Skip to content

velocityzen/coleccionista

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coleccionista

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

Usage

let Coleccionista = require('coleccionista');

let stream = new Coleccionista(options);

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

options

  • 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

Additional events

  • 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

About

Helper class that streams files one by one.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published