0.0.2 • Published 11 years ago
qwish v0.0.2
qwish 
A Node based CSS Compressor. This is sqwish without strict mode.
require('qwish').minify('body { color: #ff33cc; }');
// => "body{color:#f3c}"CLI
Install it.
$ npm install -g qwishUse it like this:
$ qwish app.css # default output is <file>.min.css therefore app.css => app.min.css
$ # or...
$ qwish css/styles.css -o prod/something-else.min.cssNotes
Qwish does not attempt to fix invalid CSS, therefore, at minimum, your CSS should at least follow the basic rules:
selectors[,more selectors] {
property: value;
another-property: another value;
}Developers
Be sure you have the proper testing harness set up ahead of time by installing the sink-test submodule
$ npm installTests can be added in tests/tests.js, and then run as such:
$ npm testLicense
MIT License
0.0.2
11 years ago