Skip to content

Commit

Permalink
Version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlamsl committed Apr 17, 2016
1 parent 47c2811 commit 5511bad
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 16 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ How does HTMLMinifier compare to other solutions — [HTML Minifier from Will Pe
| Site | Original size *(KB)* | HTMLMinifier | minimize | Will Peavy | htmlcompressor.com |
| --------------------------------------------------------------------------- |:--------------------:| ------------:| --------:| ----------:| ------------------:|
| [Google](https://www.google.com/) | 53 | **50** | 53 | 55 | 53 |
| [CNN](http://www.cnn.com/) | 108 | **98** | 104 | 105 | 102 |
| [HTMLMinifier](https://github.com/kangax/html-minifier) | 113 | **74** | 96 | 100 | 97 |
| [BBC](http://www.bbc.co.uk/) | 148 | **119** | 143 | 148 | 141 |
| [New York Times](http://www.nytimes.com/) | 170 | **107** | 121 | 125 | 121 |
| [Amazon](http://www.amazon.com/) | 216 | **182** | 208 | 210 | n/a |
| [Stack Overflow](http://stackoverflow.com/) | 239 | **184** | 194 | 203 | 193 |
| [CNN](http://www.cnn.com/) | 107 | **97** | 104 | 105 | 102 |
| [HTMLMinifier](https://github.com/kangax/html-minifier) | 117 | **75** | 99 | 104 | 100 |
| [BBC](http://www.bbc.co.uk/) | 132 | **104** | 127 | 131 | 125 |
| [New York Times](http://www.nytimes.com/) | 169 | **106** | 120 | 124 | 120 |
| [Amazon](http://www.amazon.com/) | 215 | **181** | 207 | 209 | n/a |
| [Stack Overflow](http://stackoverflow.com/) | 242 | **187** | 196 | 205 | 195 |
| [Bootstrap CSS](http://getbootstrap.com/css/) | 277 | **264** | 274 | 232 | 274 |
| [NBC](http://www.nbc.com/) | 448 | **430** | 447 | 448 | n/a |
| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States) | 475 | **421** | 458 | 474 | n/a |
| [NBC](http://www.nbc.com/) | 465 | **445** | 463 | 465 | n/a |
| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States) | 475 | **422** | 459 | 474 | n/a |
| [Eloquent Javascript](http://eloquentjavascript.net/1st_edition/print.html) | 870 | **815** | 840 | 864 | n/a |
| [ES6 table](http://kangax.github.io/compat-table/es6/) | 3616 | **3041** | 3407 | 3574 | n/a |
| [ES6 draft](https://tc39.github.io/ecma262/) | 4782 | **4229** | 4360 | 4481 | n/a |
| [ES6 table](http://kangax.github.io/compat-table/es6/) | 3659 | **3077** | 3447 | 3616 | n/a |
| [ES6 draft](https://tc39.github.io/ecma262/) | 4775 | **4223** | 4353 | 4474 | n/a |

## Options Quick Reference

Expand Down
2 changes: 1 addition & 1 deletion dist/htmlminifier.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* HTMLMinifier v1.5.0 (http://kangax.github.io/html-minifier/)
* HTMLMinifier v2.0.0 (http://kangax.github.io/html-minifier/)
* Copyright 2010-2016 Juriy "kangax" Zaytsev
* Licensed under the MIT license
*/
Expand Down
4 changes: 2 additions & 2 deletions dist/htmlminifier.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<body>
<div id="outer-wrapper">
<div id="wrapper">
<h1>HTML Minifier <span>(v1.5.0)</span></h1>
<h1>HTML Minifier <span>(v2.0.0)</span></h1>
<textarea rows="8" cols="40" id="input"></textarea>
<div class="minify-button">
<button type="button" id="minify-btn">Minify</button>
Expand Down
18 changes: 16 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
{
"name": "html-minifier",
"description": "Highly configurable, well-tested, JavaScript-based HTML minifier.",
"version": "1.5.0",
"version": "2.0.0",
"keywords": [
"cli",
"compress",
"compressor",
"css",
"html",
"htmlmin",
"javascript",
"min",
"minification",
"minifier",
"minify",
"optimize"
"optimize",
"optimizer",
"pack",
"packer",
"parse",
"parser",
"uglifier",
"uglify"
],
"homepage": "http://kangax.github.io/html-minifier/",
"author": "Juriy \"kangax\" Zaytsev",
Expand Down

0 comments on commit 5511bad

Please sign in to comment.