An open API service indexing awesome lists of open source software.

https://github.com/othree/gulp-query-html

Query HTML content and replace the origin file
https://github.com/othree/gulp-query-html

Last synced: over 1 year ago
JSON representation

Query HTML content and replace the origin file

Awesome Lists containing this project

README

          

Query HTML content and replace the origin file

USAGE
-----

Grab every thing in `` and reaplce the file. Useful when you only want something in the HTML files.

var grab = require('gulp-query-html');
var gulp = require('gulp');

gulp.task('default', function () {
gulp.src('./cases/*.html')
.pipe(grab('body'))
.pipe(gulp.dest('./output'));
});

LICENSE
-------

MIT