# smash-streams

> Smash your node streams together and consume them as one.

Latest version **1.0.0** (published 2016-02-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install smash-streams
pnpm add smash-streams
yarn add smash-streams
bun add smash-streams
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-02-17 |
| First published | 2016-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nick Van Dyck |
| Maintainers | nickvdyck |
| Keywords | streams, gulpplugin, merge, smash |

## Links

- npm: https://www.npmjs.com/package/smash-streams
- Repository: https://github.com/nickvdyck/smash-streams
- Homepage: https://github.com/nickvdyck/smash-streams#readme
- Issues: https://github.com/nickvdyck/smash-streams/issues
- npm.io page: https://npm.io/package/smash-streams

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-02-17
- 0.0.1 — 2016-02-17

## README

# smash-streams
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][dep-image]][dep-url]

Smash your streams together and consume them as one stream.

## API
### smash-streams(...streams)
Returns a new instance of SmashStream

### SmashStream
Class that smashes all stream arguments into one.

## Usage

### CommonJS

```js
var smashStreams = require('smash-streams');

smashStreams(stream1, stream2)
  .pipe(watheverStream());
```

Or you can even do some extreme smashing:

```js
var smashStreams = require('smash-streams');

smashStreams(
  stream1,
  [stream2, stream3, [stream4]],
  stream5
).pipe(extremeStream());
```

### ES2015

```js
import { smashStreams } from 'smash-streams';

smashStreams(stream1).pipe(...)
```

## Contributing

Clone the repo via:
```shell
git clone https://github.com/nickvdyck/smash-streams.git
```

Then do:
- npm install
- npm run build

Before creating a pull request always run all the tests via
- npm run test

[npm-url]: https://www.npmjs.com/package/smash-streams
[npm-image]: https://badge.fury.io/js/smash-streams.svg

[travis-url]: https://travis-ci.org/nickvdyck/smash-streams
[travis-image]: https://travis-ci.org/nickvdyck/smash-streams.svg?branch=master

[dep-url]: https://david-dm.org/nickvdyck/smash-streams
[dep-image]: https://david-dm.org/nickvdyck/smash-streams.svg

---
_Source: https://npm.io/package/smash-streams · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
