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
- Host: GitHub
- URL: https://github.com/othree/gulp-query-html
- Owner: othree
- Created: 2014-03-03T14:48:08.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-07T02:09:51.000Z (over 12 years ago)
- Last Synced: 2025-02-25T12:42:19.811Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://github.com/othree/gulp-query-html
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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