# gulp-yml-merge

> Gulp plugin merge yaml

Latest version **0.0.2** (published 2017-04-27) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2017-04-27 |
| First published | 2017-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Hiroki Yamamoto |
| Maintainers | hiyamamo |
| Keywords | gulp, gulpplugin, yaml, yml |

## Links

- npm: https://www.npmjs.com/package/gulp-yml-merge
- Repository: https://github.com/hiyamamo/gulp-yml-merge
- Homepage: https://github.com/hiyamamo/gulp-yml-merge#readme
- Issues: https://github.com/hiyamamo/gulp-yml-merge/issues
- npm.io page: https://npm.io/package/gulp-yml-merge

## Dependencies (3)

- [js-yaml](https://npm.io/package/js-yaml.md) ^3.8.3
- [through2](https://npm.io/package/through2.md) ^2.0.3
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.8

## Alternatives

- [monaco-yaml](https://npm.io/package/monaco-yaml.md) — 420.1K weekly downloads
- [@crewx/workflow](https://npm.io/package/@crewx/workflow.md) — 3.1K weekly downloads
- [yaml-cat](https://npm.io/package/yaml-cat.md) — 38 weekly downloads
- [nunjucks-in-yaml](https://npm.io/package/nunjucks-in-yaml.md) — 9 weekly downloads
- [shopify-symlinks](https://npm.io/package/shopify-symlinks.md) — 3 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2017-04-27
- 0.0.1 — 2017-04-27

## README

# gulp-yml-merge
Gulp plugin merge yaml

# Install
```bash
npm install --save-dev gulp-yml-merge
```

# Usage
```javascript
/* gulpfile.js */
const gulp = require('gulp');
const ymlMerge = require('gulp-yml-merge');

gulp.task('merge', () => {
  gulp.src('a.yml')
    .pipe(ymlMerge({
      targetPath: 'b.yml',
      isPriorSrc: true
    }))
    .pipe(gulp.dest('./dist'))
});
```

```yaml
# a.yml
foo: foo
bar: bar
qux:
  a: a
  b: b
```

```yaml
# b.yml
foo: foo-foo
baz: baz
qux:
  b: b-b
```

```yaml
# dist/a.yml
foo: foo
baz: baz
qux:
  a: a
  b: b
bar: bar
```

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