Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Mar 20, 2024 via pnpm

combined-stream 1.0.8

A stream that emits multiple other streams one after another.
Package summary
Share
0
issues
1
license
2
MIT
Package created
24 May 2011
Version published
12 May 2019
Maintainers
4
Total deps
2
Direct deps
1
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
combined-stream@1.0.8
delayed-stream@1.0.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of combined-stream 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
delayed-stream1.0.03.38 kBMIT
prod

Visualizations

Frequently Asked Questions

What does combined-stream do?

Combined-stream is a Node.js module that allows for the concurrent emission of multiple streams, one succeeding another. It's particularly useful when you have data in different streams that you want to combine into one. Currently, this library is compatible with version 1 of streams only, Any efforts to integrate with version 2 of streams are welcome.

How do you use combined-stream?

To use combined-stream, start by installing the package via npm by running npm install combined-stream. Once installed, you can combine two or more streams into a single one with the use of CombinedStream.create() and append() functions. Below is a basic usage example:

var CombinedStream = require('combined-stream');
var fs = require('fs');

var combinedStream = CombinedStream.create();
combinedStream.append(fs.createReadStream('file1.txt'));
combinedStream.append(fs.createReadStream('file2.txt'));

combinedStream.pipe(fs.createWriteStream('combined.txt'));

The above example combines 'file1.txt' and 'file2.txt' into a new file 'combined.txt'. You can control the pause status of source streams by setting pauseStreams to false. If you want to use a stream when it's available, you can append it as a callback function.

Where are the combined-stream docs?

The documentation for combined-stream is available on its GitHub page git://github.com/felixge/node-combined-stream.git. It provides detailed instructions on how to install and use the package, and offers information on the various functions and options available. The full API is documented, including how to create a combined stream, append streams, write to and end a combined stream, among other things. The documentation also outlines the events emitted by combined stream and how to listen to them.