# gulp-merge-fragment

> merge-fragment plugin for Gulp

Latest version **0.0.1** (published 2015-01-14) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2015-01-14 |
| First published | 2015-01-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.0 |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | matsutakefungus |
| Maintainers | matsutakefungus |
| Keywords | gulp, html, script, link, merge, gulpplugin, gulp-plugin |

## Links

- npm: https://www.npmjs.com/package/gulp-merge-fragment
- Repository: https://github.com/matsutakeFungus/gulp-fragment-merge
- Issues: https://github.com/matsutakeFungus/gulp-fragment-merge/issues
- npm.io page: https://npm.io/package/gulp-merge-fragment

## Dependencies (5)

- [q](https://npm.io/package/q.md) ~1.0.1
- [vinyl](https://npm.io/package/vinyl.md) ~0.2.3
- [extend](https://npm.io/package/extend.md) ~1.2.1
- [cheerio](https://npm.io/package/cheerio.md) ~0.13.1
- [through2](https://npm.io/package/through2.md) ~0.4.1

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2015-01-14

## README

# gulp-fragment-merge
合并页面中引用文件到当前页面
## Usage

First, install `gulp-fragment-merge` as a development dependency:

```shell
npm install --save-dev gulp-fragment-merge
```

Then, add it to your `gulpfile.js`:

```javascript
var merge-fragment = require("gulp-fragment-merge");

gulp.src("./src/*.ext")
	.pipe(merge-fragment({
		msg: "Hello Gulp!"
	}))
	.pipe(gulp.dest("./dist"));
```

## API

### merge-fragment(options)

#### options.msg
Type: `String`  
Default: `Hello World`

The message you wish to attach to file.


## License

[MIT License](http://en.wikipedia.org/wiki/MIT_License)

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