# gulp-merge

> Merge multiple streams into one stream in order.

Latest version **0.1.1** (published 2015-05-15) · 0 weekly downloads

## Install

```sh
npm install gulp-merge
pnpm add gulp-merge
yarn add gulp-merge
bun add gulp-merge
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2015-05-15 |
| First published | 2015-05-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 171 |
| Maintainers | varya |
| Keywords | gulpplugin, multiple, merge, stream, merge stream, sync |

## Links

- npm: https://www.npmjs.com/package/gulp-merge
- Repository: git@github.com:teambition/gulp-merge
- Homepage: https://github.com/teambition/gulp-merge
- Issues: https://github.com/teambition/gulp-merge/issues
- npm.io page: https://npm.io/package/gulp-merge

## Dependencies (1)

- [through2](https://npm.io/package/through2.md) ~1.1.1

## 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

- 0.1.1 (latest) — 2015-05-15

## README

gulp-merge v0.1.0 [![Build Status](https://travis-ci.org/teambition/gulp-merge.svg)](https://travis-ci.org/teambition/gulp-merge)
====
> Merge multiple streams into one stream in order.

## Install

Install with [npm](https://npmjs.org/package/gulp-merge)

```
npm install --save-dev gulp-sequence
```


## Usage

```js
var gulp = require('gulp'),
  gulpMerge = require('gulp-merge'),
  concat = require('gulp-concat'),
  minifyHtml = require('gulp-minify-html'),
  ngtemplate = require('gulp-ngtemplate');

gulp.task('app-js', function () {
  return gulpMerge(
      gulp.src('static/src/tpl/*.html')
        .pipe(minifyHtml({empty: true}))
        .pipe(ngtemplate({
          module: 'genTemplates',
          standalone: true
        })
      ), gulp.src([
        'static/src/js/app.js',
        'static/src/js/locale_zh-cn.js',
        'static/src/js/router.js',
        'static/src/js/tools.js',
        'static/src/js/services.js',
        'static/src/js/filters.js',
        'static/src/js/directives.js',
        'static/src/js/controllers.js'
      ])
    )
    .pipe(concat('app.js'))
    .pipe(gulp.dest('static/dist/js/'));
});
```

## API

```js
var gulpMerge = require('gulp-merge');
```

### gulpMerge(stream1, stream2)
return a duplex stream (outStream).

### outStream.add(stream1, stream2)
return outStream(duplex stream).

## License

MIT © [Teambition](http://teambition.com)

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