Skip to content

othree/gulp-query-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Query HTML content and replace the origin file

USAGE

Grab every thing in <body> 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

About

Query HTML content and replace the origin file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published