Removes line breaks, comments and spaces around symbols in a CSS file.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hugo Soucy f5d8d5a9da Put uses in a list 2 months ago
.editorconfig Do the first commit. 6 months ago
README.md Put uses in a list 2 months ago
cssmin Remove the require inspect 2 months ago

README.md

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