gulp-query-html

0.0.2 • Public • Published

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

/gulp-query-html/

    Package Sidebar

    Install

    npm i gulp-query-html

    Weekly Downloads

    2

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • othree