gulp-reduce-to-file
v1.0.0
Published
Reduce a stream of files to a single file
Downloads
3
Readme
(PLUGIN AUTHOR: Please read Plugin README conventions, then delete this line)
<%= appname %>
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url]
<%= pluginName %> plugin for gulp
Usage
First, install <%= appname %>
as a development dependency:
npm install --save-dev <%= appname %>
Then, add it to your gulpfile.js
:
var <%= pluginName %> = require("<%= appname %>");
gulp.src("./src/*.ext")
.pipe(<%= pluginName %>({
msg: "Hello Gulp!"
}))
.pipe(gulp.dest("./dist"));
API
<%= pluginName %>(options)
options.msg
Type: String
Default: Hello World
The message you wish to attach to file.
License
[npm-url]: https://npmjs.org/package/<%= appname %> [npm-image]: https://badge.fury.io/js/<%= appname %>.png
[travis-url]: http://travis-ci.org/<%= githubUser %>/<%= appname %> [travis-image]: https://secure.travis-ci.org/<%= githubUser %>/<%= appname %>.png?branch=master
[coveralls-url]: https://coveralls.io/r/<%= githubUser %>/<%= appname %> [coveralls-image]: https://coveralls.io/repos/<%= githubUser %>/<%= appname %>/badge.png
[depstat-url]: https://david-dm.org/<%= githubUser %>/<%= appname %> [depstat-image]: https://david-dm.org/<%= githubUser %>/<%= appname %>.png