minify

CLI implementation of the Go minify library package

Install

All systems
curl cmd.cat/minify.sh
Debian Debian
apt-get install minify
Ubuntu
apt-get install minify
image/svg+xml Kali Linux
apt-get install minify
Windows (WSL2)
sudo apt-get update sudo apt-get install minify

minify

CLI implementation of the Go minify library package

/usr/bin/minify is a CLI implementation of the github.com/tdewolff/minify Go library package. It provides HTML5, CSS3, JS, JSON, SVG and XML minifiers. Minification is the process of removing bytes from a file (such as whitespace) without changing its output and therefore shrinking its size and speeding up transmission over the Internet and possibly parsing. The implemented minifiers are high performance and streaming, which implies O(n).