Skip to content

qwreey/lune-minify-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lune-minify-html

Simple minify-html wrapper for lune runtime, with ffi edge feature.

Example usage

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

TODO

Minify option supports

About

minify-html binding for lune runtime

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published