cssmin

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

README.md (342B)


      1 # cssmin
      2 
      3 Removes line breaks, comments and spaces around symbols in a CSS
      4 file. Without any dependency, you only need lua (>= 5.1).
      5 
      6 Use a CSS file as argument or CSS block by stdin:
      7 
      8 * `./cssmin styles.css > styles.min.css`
      9 * `./cssmin < styles.css > styles.min.css`
     10 * `cat styles.css | ./cssmin`
     11 * `echo ".red { color: red; }" | ./cssmin`