Simple minify-html wrapper for lune runtime, with ffi edge feature.
Run cargo build --profile=release
first to get shared object.
local minify_html = require("./")
.new("./target/release/liblune_minify_html.so")
local result = minify_html:minify([[
<html>
<html>
<title>Hello world</title>
</html>
<body>
<p>Hello world</p>
</body>
</html>
]])
print(result) -- <title>Hello world</title></html><body><p>Hello world
Minify option supports