gulp-htmlmin 3.0.0

gulp plugin to minify HTML.

Homepage: https://github.com/jonschlinkert/gulp-htmlmin#readme

Platform: npm

Language: HTML

License: MIT

Keywords: format, gulp, gulpplugin, htm, html, minifier, minification, minify

Repository: git+https://github.com/jonschlinkert/gulp-htmlmin.git

View on registry: https://www.npmjs.com/package/gulp-htmlmin

Direct download link: https://registry.npmjs.org/gulp-htmlmin/-/gulp-htmlmin-3.0.0.tgz

Install: npm install [email protected]


gulp-htmlmin NPM version Build Status

gulp plugin to minify HTML.

Issues with the HTML parser and output should be reported on the html-minifier issue tracker.

Install with npm

npm i gulp-htmlmin --save-dev

Usage

var gulp = require('gulp');
var htmlmin = require('gulp-htmlmin');

gulp.task('minify', function() {
  return gulp.src('src/*.html')
    .pipe(htmlmin({collapseWhitespace: true}))
    .pipe(gulp.dest('dist'));
});

See the html-minifier docs for options.

Run tests

Install dev dependencies:

npm i && mocha

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Authors

Jon Schlinkert

Shinnosuke Watanabe

License

Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb on January 10, 2015.

Releases

  • 3.0.0 - September 21, 2016 22:37
  • 2.0.0 - April 30, 2016 16:03
  • 1.3.0 - December 11, 2015 06:44
  • 1.2.0 - October 03, 2015 07:08
  • 1.1.4 - August 23, 2015 11:57
  • 1.1.3 - June 17, 2015 00:44
  • 1.1.2 - June 04, 2015 16:16
  • 1.1.1 - February 22, 2015 07:10
  • 1.1.0 - February 12, 2015 00:55
  • 1.0.0 - January 10, 2015 07:01
See all 15 releases

Project Statistics

SourceRank 23
Dependencies 6
Dependent projects 514
Dependent repositories 8.48K
Total releases 15
Latest release
First release
Stars 446
Forks 42
Watchers 10
Contributors 11
Repo Size: 46.9 KB

Top Contributors See all

Shinnosuke Watanabe Jon Schlinkert Steve Lacy Brian Woodward Chris Watson Igor Adamenko John-David Dalton Jose Chirivella Tom Byrer Joel Arvidsson Nico Schlömer

Something wrong with this page? Make a suggestion

Export .ABOUT file for this library

Last synced: 2017-03-23 07:07:20 UTC