merge-stream
npmv2.0.0Create a stream that emits events from multiple other streams
Not recommended for new projects
No — merge-stream should not be adopted for new projects. Last published 2666 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 2666 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 4.2 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 3 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding merge-stream to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the merge-stream README.
var stream1 = new Stream();
var stream2 = new Stream();
var merged = mergeStream(stream1, stream2);
var stream3 = new Stream();
merged.add(stream3);
merged.isEmpty();
//=> falseDependencies
Declared by merge-stream v2.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (2)
Used by
Popular packages that depend on merge-stream.
Relationship graph
Dependencies (left) and dependents (right) of merge-stream.
Frequently installed together
This packages is a collection of utilities and helper functions
A structuredClone polyfill
TypeScript definitions for node
Module for verifying whether an object has been garbage collected or not.
Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST
A shim for the setImmediate efficient script yielding API
Universal WHATWG Fetch API for Node, Browsers and React Native
This package exports a few of the CSS variables that we use in Facebook projects. This is not the full list we have internally but focused on making available the minimum set needed by our open source projects.
Bare bones Promises/A+ implementation
Immutable Data Collections
Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment
Delightful JavaScript Testing.
Release history
No releases in the last two years, typically about 80 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.0.0latest | 7 years ago | 4.2 KB | MIT |
| 1.0.1 | 9 years ago | — | MIT |
| 1.0.0 | 11 years ago | — | MIT |
| 0.1.8 | 11 years ago | — | MIT |
| 0.1.7 | 11 years ago | — | MIT |
| 0.1.6 | 12 years ago | — | MIT |
| 0.1.5 | 12 years ago | — | MIT |
| 0.1.4 | 12 years ago | — | MIT |
| 0.1.3 | 12 years ago | — | MIT |
| 0.1.2 | 12 years ago | — | MIT |
| 0.1.1 | 12 years ago | — | MIT |
| 0.0.1 | 12 years ago | — | MIT |
| 0.0.0 | 13 years ago | — | MIT |
Overview
merge-stream is an npm package that create a stream that emits events from multiple other streams. It has 2 known dependents in the graph. The latest version is 2.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need create a stream that emits events from multiple other streams and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use merge-stream?
No — merge-stream should not be adopted for new projects. Last published 2666 days ago.
How do I install merge-stream?
Run `npm install merge-stream` to add merge-stream to your npm project.
What license is merge-stream released under?
merge-stream is distributed under the MIT license.
How popular is merge-stream?
npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on merge-stream.
Is merge-stream still maintained?
The most recent release of merge-stream (v2.0.0) was published 7 years ago.
Does merge-stream run install scripts?
No. merge-stream does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.