You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 months ago | |
---|---|---|
.editorconfig | 2 years ago | |
README.md | 6 months ago | |
cssmin | 1 year ago |
README.md
cssmin
Command-line utility to 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
To have access to cssmin
from everywhere, you can create a symlink
in $HOME/.local/bin/
or in /usr/local/bin/
.