Simple Gulp plugin to append/prepend.
npm install gulp-append-prependSimple Gulp plugin.



First, install gulp-append-prepend as a development dependency:
```
npm install gulp-append-prepend --save-dev
Then, add it to your gulpfile.js:
`javascript
const gap = require('gulp-append-prepend');
gulp.task('myawesometask', function(){
gulp.src('index.html')
.pipe(gap.prependFile('header.html'))
.pipe(gap.prependText(''))
.pipe(gap.appendText(''))
.pipe(gap.appendFile('footer.html'))
.pipe(gulp.dest('www/'));
});
`
This example works with html but you can use any type of file.
appendFile(filepath, separator) The filepath can be an array. The separator is optional by default is "\n".
- prependFile(filepath, separator) The filepath can be an array. The separator is optional by default is "\n".
- appendText(text, separator) The text can be an array. The separator is optional by default is "\n".
- prependText(text, separator)` The text can be an array. The separator is optional by default is "\n".