gulp-htmlmin 3.0.0

gulp plugin to minify HTML.

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

Platform: npm

Language: HTML

License: MIT

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

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
2.0.0 April 30, 2016
1.3.0 December 11, 2015
1.2.0 October 03, 2015
1.1.4 August 23, 2015
1.1.3 June 17, 2015
1.1.2 June 04, 2015
1.1.1 February 22, 2015
1.1.0 February 12, 2015
1.0.0 January 10, 2015
See all 15 releases

Project Statistics

SourceRank 23
Dependencies 6
Dependent projects 545
Dependent repositories 9.38K
Total releases 15
Latest release
First release
Stars 455
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-04-25 16:13:33 UTC