0.10.1
This commit is contained in:
parent
1aea5d1be8
commit
ddb1efab17
15 changed files with 24 additions and 24 deletions
18
README.md
18
README.md
|
|
@ -23,7 +23,7 @@ View the [changelog](./CHANGELOG.md) to see the latest updates.
|
|||
|
||||
Comparison with [html-minifier](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="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.10.0/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.10.0/core/average-sizes.png">
|
||||
<img width="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.10.1/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.10.1/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.
|
||||
|
||||
|
|
@ -36,10 +36,10 @@ Precompiled binaries are available for Linux, macOS, and Windows.
|
|||
|
||||
### Get
|
||||
|
||||
[Linux x64](https://wilsonl.in/minify-html/bin/0.10.0-linux-x86_64) |
|
||||
[Linux ARM64](https://wilsonl.in/minify-html/bin/0.10.0-linux-arm64) |
|
||||
[macOS x64](https://wilsonl.in/minify-html/bin/0.10.0-macos-x86_64) |
|
||||
[Windows x64](https://wilsonl.in/minify-html/bin/0.10.0-windows-x86_64.exe)
|
||||
[Linux x64](https://wilsonl.in/minify-html/bin/0.10.1-linux-x86_64) |
|
||||
[Linux ARM64](https://wilsonl.in/minify-html/bin/0.10.1-linux-arm64) |
|
||||
[macOS x64](https://wilsonl.in/minify-html/bin/0.10.1-macos-x86_64) |
|
||||
[Windows x64](https://wilsonl.in/minify-html/bin/0.10.1-windows-x86_64.exe)
|
||||
|
||||
### Use
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ minify-html --keep-closing-tags --minify-css /path/to/**/*.html
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
minify-html = "0.10.0"
|
||||
minify-html = "0.10.1"
|
||||
```
|
||||
|
||||
### Use
|
||||
|
|
@ -76,14 +76,14 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
|
|||
<details>
|
||||
<summary><img width="24" src="https://wilsonl.in/minify-html/icon/deno.png"> <strong>Deno</strong></summary>
|
||||
|
||||
- Package: https://wilsonl.in/minify-html/deno/0.10.0/index.js
|
||||
- Package: https://wilsonl.in/minify-html/deno/0.10.1/index.js
|
||||
- Binding: [WASM](https://webassembly.org/)
|
||||
- Platforms: All
|
||||
|
||||
### Use
|
||||
|
||||
```ts
|
||||
import init, {minify} from "https://wilsonl.in/minify-html/deno/0.10.0/index.js";
|
||||
import init, {minify} from "https://wilsonl.in/minify-html/deno/0.10.1/index.js";
|
||||
|
||||
const encoder = new TextEncoder();
|
||||
const decoder = new TextDecoder();
|
||||
|
|
@ -149,7 +149,7 @@ Add as a Maven dependency:
|
|||
<dependency>
|
||||
<groupId>in.wilsonl.minifyhtml</groupId>
|
||||
<artifactId>minify-html</artifactId>
|
||||
<version>0.10.0</version>
|
||||
<version>0.10.1</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
|
|||
Reference in a new issue