Socket
Socket
Sign inDemoInstall

stream-series

Package Overview
Dependencies
2
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    stream-series

Waterfalls for streams


Version published
Weekly downloads
5.2K
increased by9.81%
Maintainers
1
Install size
33.2 kB
Created
Weekly downloads
 

Readme

Source

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);

Keywords

FAQs

Last updated on 14 Jul 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc