0.6.10
This commit is contained in:
parent
ee9fc50741
commit
e7add80c48
14
README.md
14
README.md
|
@ -19,7 +19,7 @@ A Rust HTML minifier meticulously optimised for speed and effectiveness, with bi
|
||||||
|
|
||||||
Comparison with [html-minfier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on the top web pages. [See the breakdown here.](./bench)
|
Comparison with [html-minfier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on the top web pages. [See the breakdown here.](./bench)
|
||||||
|
|
||||||
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.9/core/average-speeds.png"><img width="415" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.9/core/average-sizes.png">
|
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.10/core/average-speeds.png"><img width="415" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.10/core/average-sizes.png">
|
||||||
|
|
||||||
The [onepass](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) variant is even more optimised for speed. See its [README](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) for more details.
|
The [onepass](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) variant is even more optimised for speed. See its [README](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) for more details.
|
||||||
|
|
||||||
|
@ -32,10 +32,10 @@ Precompiled binaries are available for Linux, macOS, and Windows.
|
||||||
|
|
||||||
### Get
|
### Get
|
||||||
|
|
||||||
[Linux x86-64](https://wilsonl.in/minify-html/bin/0.6.9-linux-x86_64) |
|
[Linux x86-64](https://wilsonl.in/minify-html/bin/0.6.10-linux-x86_64) |
|
||||||
[Linux ARM](https://wilsonl.in/minify-html/bin/0.6.9-linux-arm64) |
|
[Linux ARM](https://wilsonl.in/minify-html/bin/0.6.10-linux-arm64) |
|
||||||
[macOS](https://wilsonl.in/minify-html/bin/0.6.9-macos-x86_64) |
|
[macOS](https://wilsonl.in/minify-html/bin/0.6.10-macos-x86_64) |
|
||||||
[Windows](https://wilsonl.in/minify-html/bin/0.6.9-windows-x86_64.exe)
|
[Windows](https://wilsonl.in/minify-html/bin/0.6.10-windows-x86_64.exe)
|
||||||
|
|
||||||
### Use
|
### Use
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
minify-html = { version = "0.6.9", features = ["js-esbuild"] }
|
minify-html = { version = "0.6.10", features = ["js-esbuild"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
Building with the `js-esbuild` feature requires the Go compiler to be installed as well, to build the [JS and CSS minifier](https://github.com/wilsonzlin/esbuild-rs).
|
Building with the `js-esbuild` feature requires the Go compiler to be installed as well, to build the [JS and CSS minifier](https://github.com/wilsonzlin/esbuild-rs).
|
||||||
|
@ -125,7 +125,7 @@ Add as a Maven dependency:
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>in.wilsonl.minifyhtml</groupId>
|
<groupId>in.wilsonl.minifyhtml</groupId>
|
||||||
<artifactId>minify-html</artifactId>
|
<artifactId>minify-html</artifactId>
|
||||||
<version>0.6.9</version>
|
<version>0.6.10</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ For more information on how the inputs are fetched, see [fetch.js](./fetch.js).
|
||||||
|
|
||||||
On this [project's README](../README.md), average graphs are shown. Graphs showing per-input results are shown below:
|
On this [project's README](../README.md), average graphs are shown. Graphs showing per-input results are shown below:
|
||||||
|
|
||||||
<img width="435" alt="Chart showing speed of HTML minifiers per input" src="https://wilsonl.in/minify-html/bench/0.6.9/core/speeds.png"><img width="435" alt="Chart showing effectiveness of HTML minifiers per input" src="https://wilsonl.in/minify-html/bench/0.6.9/core/sizes.png">
|
<img width="435" alt="Chart showing speed of HTML minifiers per input" src="https://wilsonl.in/minify-html/bench/0.6.10/core/speeds.png"><img width="435" alt="Chart showing effectiveness of HTML minifiers per input" src="https://wilsonl.in/minify-html/bench/0.6.10/core/sizes.png">
|
||||||
|
|
||||||
Results depend on the input, so charts show performance relative to minify-html as a percentage.
|
Results depend on the input, so charts show performance relative to minify-html as a percentage.
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
publish = false
|
publish = false
|
||||||
name = "minify-html-cli"
|
name = "minify-html-cli"
|
||||||
description = "Extremely fast and smart HTML + JS + CSS minifier"
|
description = "Extremely fast and smart HTML + JS + CSS minifier"
|
||||||
version = "0.6.9"
|
version = "0.6.10"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
publish = false
|
publish = false
|
||||||
name = "minify-html-java"
|
name = "minify-html-java"
|
||||||
version = "0.6.9"
|
version = "0.6.10"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>in.wilsonl.minifyhtml</groupId>
|
<groupId>in.wilsonl.minifyhtml</groupId>
|
||||||
<artifactId>minify-html</artifactId>
|
<artifactId>minify-html</artifactId>
|
||||||
<version>0.6.9</version>
|
<version>0.6.10</version>
|
||||||
|
|
||||||
<name>minify-html</name>
|
<name>minify-html</name>
|
||||||
<description>Extremely fast and smart HTML + JS + CSS minifier</description>
|
<description>Extremely fast and smart HTML + JS + CSS minifier</description>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
publish = false
|
publish = false
|
||||||
name = "minify-html-ffi"
|
name = "minify-html-ffi"
|
||||||
version = "0.6.9"
|
version = "0.6.10"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
|
||||||
const common = {
|
const common = {
|
||||||
version: "0.6.9",
|
version: "0.6.10",
|
||||||
main: "index.node",
|
main: "index.node",
|
||||||
types: "index.d.ts",
|
types: "index.d.ts",
|
||||||
files: ["postinstall.js", "index.d.ts"],
|
files: ["postinstall.js", "index.d.ts"],
|
||||||
|
|
|
@ -6,7 +6,7 @@ license = "MIT"
|
||||||
homepage = "https://github.com/wilsonzlin/minify-html"
|
homepage = "https://github.com/wilsonzlin/minify-html"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/wilsonzlin/minify-html.git"
|
repository = "https://github.com/wilsonzlin/minify-html.git"
|
||||||
version = "0.6.9"
|
version = "0.6.10"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ license = "MIT"
|
||||||
homepage = "https://github.com/wilsonzlin/minify-html"
|
homepage = "https://github.com/wilsonzlin/minify-html"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/wilsonzlin/minify-html.git"
|
repository = "https://github.com/wilsonzlin/minify-html.git"
|
||||||
version = "0.6.9"
|
version = "0.6.10"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
publish = false
|
publish = false
|
||||||
name = "minify-html-ruby"
|
name = "minify-html-ruby"
|
||||||
version = "0.6.9"
|
version = "0.6.10"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ require 'rake'
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "minify_html"
|
spec.name = "minify_html"
|
||||||
spec.version = "0.6.9"
|
spec.version = "0.6.10"
|
||||||
spec.authors = ["Wilson Lin"]
|
spec.authors = ["Wilson Lin"]
|
||||||
spec.email = ["code@wilsonl.in"]
|
spec.email = ["code@wilsonl.in"]
|
||||||
spec.license = "MIT"
|
spec.license = "MIT"
|
||||||
|
|
|
@ -7,7 +7,7 @@ readme = "README.md"
|
||||||
keywords = ["html", "compress", "minifier", "js", "css"]
|
keywords = ["html", "compress", "minifier", "js", "css"]
|
||||||
categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"]
|
categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"]
|
||||||
repository = "https://github.com/wilsonzlin/minify-html.git"
|
repository = "https://github.com/wilsonzlin/minify-html.git"
|
||||||
version = "0.6.9"
|
version = "0.6.10"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
include = ["/src/**/*", "/Cargo.toml", "/LICENSE", "/README.md"]
|
include = ["/src/**/*", "/Cargo.toml", "/LICENSE", "/README.md"]
|
||||||
|
|
|
@ -7,7 +7,7 @@ readme = "README.md"
|
||||||
keywords = ["html", "compress", "minifier", "js", "css"]
|
keywords = ["html", "compress", "minifier", "js", "css"]
|
||||||
categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"]
|
categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"]
|
||||||
repository = "https://github.com/wilsonzlin/minify-html.git"
|
repository = "https://github.com/wilsonzlin/minify-html.git"
|
||||||
version = "0.6.9"
|
version = "0.6.10"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
include = ["/src/**/*", "/Cargo.toml", "/LICENSE", "/README.md"]
|
include = ["/src/**/*", "/Cargo.toml", "/LICENSE", "/README.md"]
|
||||||
|
|
|
@ -8,7 +8,7 @@ An HTML minifier that provides the functionality of [minify-html](https://github
|
||||||
|
|
||||||
## Performance
|
## Performance
|
||||||
|
|
||||||
<img width="600" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.9/core/average-speeds.png">
|
<img width="600" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.10/core/average-speeds.png">
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue