diff --git a/README.md b/README.md index 9a6fa7b..90782af 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ Comparison with [html-minfier](https://github.com/kangax/html-minifier) and [min ## Usage -### CLI +
+ CLI Precompiled binaries are available for x86-64 Linux, macOS, and Windows. @@ -34,10 +35,10 @@ Use the `--help` argument for more details. minify-html --src /path/to/src.html --out /path/to/output.min.html --css --js ``` -### API +
-Rust + Rust ##### Get @@ -57,11 +58,11 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
-Node.js + Node.js - Package: [@minify-html/js](https://www.npmjs.com/package/@minify-html/js) - Binding: [N-API](https://nodejs.org/api/n-api.html) -- Platforms: Linux, macOS, Windows; Node.js 8.6.0 and higher +- Platforms: Linux (ARM64 and x86-64), macOS (x86-64), Windows (x86-64); Node.js 8.6.0 and higher ##### Get @@ -106,7 +107,7 @@ const minified = minifyHtml.minifyInPlace(fs.readFileSync("source.html"), cfg);
-Java + Java - Package: [in.wilsonl.minifyhtml](https://search.maven.org/artifact/in.wilsonl.minifyhtml/minify-html) - Binding: [JNI](https://github.com/jni-rs/jni-rs) @@ -150,7 +151,7 @@ MinifyHtml.minifyInPlace(source, cfg);
-Python + Python - Package: [minify-html](https://pypi.org/project/minify-html) - Binding: [PyO3](https://github.com/PyO3/pyo3) @@ -174,7 +175,7 @@ except SyntaxError as e:
-Ruby + Ruby - Package: [minify_html](https://rubygems.org/gems/minify_html) - Binding: [Rutie](https://github.com/danielpclark/rutie) diff --git a/icon/cli.png b/icon/cli.png new file mode 100644 index 0000000..c7e70ee Binary files /dev/null and b/icon/cli.png differ diff --git a/icon/java.png b/icon/java.png new file mode 100644 index 0000000..a14c61f Binary files /dev/null and b/icon/java.png differ diff --git a/icon/nodejs.png b/icon/nodejs.png new file mode 100644 index 0000000..f8ea91b Binary files /dev/null and b/icon/nodejs.png differ diff --git a/icon/python.png b/icon/python.png new file mode 100644 index 0000000..f1c34ce Binary files /dev/null and b/icon/python.png differ diff --git a/icon/ruby.png b/icon/ruby.png new file mode 100644 index 0000000..797167a Binary files /dev/null and b/icon/ruby.png differ diff --git a/icon/rust.png b/icon/rust.png new file mode 100644 index 0000000..0886848 Binary files /dev/null and b/icon/rust.png differ