#minify #html5 #html #minification #input-file

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

~3.5–9MB
~79K SLoC