Skip to content

Commit

Permalink
Added a README file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Voase committed Jan 3, 2010
1 parent d3f10d1 commit d80ea9c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!--*-markdown-*-->

# `cssmin`

This is a Python port of the [YUI CSS Compressor][yuicompressor]. Install it:

[yuicompressor]: http://developer.yahoo.com/yui/compressor/

$ easy_install cssmin # OR
$ pip install cssmin

Use it from the command-line:

$ cssmin --help
$ cat file1.css file2.css file3.css | cssmin > output.min.css
$ cssmin --wrap 1000 < input.css > output.css

Or use it from Python:

>>> import cssmin
>>> output = cssmin.cssmin(open('input.css').read())
>>> print output

0 comments on commit d80ea9c

Please sign in to comment.