0.2.0 • Published 9 years ago
coleccionista v0.2.0
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