cssmin

Removes line breaks, comments and spaces around symbols, in a CSS file.
git clone git://soucy.cc/cssmin.git
Log | Files | Refs | README

commit e9505ea822d4c5c3367bc0c29b116c3030aeaf09
parent a52cacc34f61623936bd3b1b809e159f19ab63a0
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun, 20 Mar 2022 20:46:24 -0400

Add a README

Diffstat:
AREADME.md | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -0,0 +1,14 @@ +# cssmin + +Removes line breaks, comments and spaces around symbols in a CSS +file. Without any dependency, you only need lua (>= 5.1). + +Use a CSS file as argument or CSS block by stdin: + + ./cssmin styles.css > styles.min.css + + ./cssmin < styles.css > styles.min.css + + cat styles.css | ./cssmin + + echo ".red { color: red; }" | ./cssmin