0.0.1 • Published 9 years ago

gulp-striphtml v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

gulp-striphtml Build Status NPM version

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