#minify #html5 #html #minification

app html5minify-cli

CLI HTML5 minifier implementation based on Servo's html5ever

1 stable release

1.0.0 Oct 16, 2020

#10 in #minification

MIT license

38KB
685 lines

HTML5 minify CLI

html5minify 1.0.0
HTML5Minify options

USAGE:
    html5minify [FLAGS] <input> [output]

FLAGS:
    -w, --whitespace    Preserve whitespace
    -h, --help          Prints help information
    -d, --doctype       Omit HTML5 doctype
    -c, --comments      Preserve HTML comments
    -V, --version       Prints version information

ARGS:
    <input>     Input file
    <output>    Output file, stdout if not set

Dependencies

~5–11MB
~115K SLoC