stream-series
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/stream-series package

    0.1.1 • Public • Published

    stream-series

    Emits events from streams in series.

    Example

    var series = require('stream-series');
    var orderedStream = series(streamA, streamC, streamB);
     
    streamA.end('a');
    streamB.end('b');
    streamC.end('c');
     
    var writer = es.writeArray(function(err, array) {
      // Array will be ['a', 'c', 'b'];
    });
     
    orderedStream.pipe(writer);

    Install

    npm i stream-series

    DownloadsWeekly Downloads

    3,576

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • rschmukler