Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qwreey/lune-minify-html

minify-html binding for lune runtime
https://github.com/qwreey/lune-minify-html

luau lune minify-html web

Last synced: about 2 months ago
JSON representation

minify-html binding for lune runtime

Awesome Lists containing this project

README

        

# lune-minify-html

Simple [minify-html](https://github.com/wilsonzlin/minify-html) wrapper for lune runtime, with ffi edge feature.

## Example usage

Run `cargo build --profile=release` first to get shared object.

```luau
local minify_html = require("./")
.new("./target/release/liblune_minify_html.so")

local result = minify_html:minify([[


Hello world


Hello world




]])

print(result) -- Hello world

Hello world
```

## TODO

Minify option supports