gulp-striphtml
v0.0.1
Published
Strip away all html and replace with empty lines
Downloads
19
Readme
gulp-striphtml
Strip away HTML and keep JavaScript so that you can eg. lint inline javascript.
Install
npm install gulp-striphtml --save-dev
Usage
var jshint = require('gulp-jshint');
var striphtml = require('gulp-striphtml');
var gulp = require('gulp');
gulp.task('lint', function() {
return gulp.src('./*.html')
.pipe(striphtml())
.pipe(jshint())
.pipe(jshint.reporter('default'));
});
Release History
- 2014-11-20 v0.0.1 Initial version.
License
MIT