{"_id":"sqwish","_rev":"206116","name":"sqwish","description":"a tool for compressing CSS","dist-tags":{"latest":"0.2.2"},"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"time":{"modified":"2021-06-03T13:18:42.000Z","created":"2011-04-24T02:47:57.772Z","0.2.2":"2014-02-11T06:51:49.253Z","0.2.1":"2012-12-17T18:29:34.757Z","0.2.0":"2011-05-24T01:41:34.815Z","0.1.2":"2011-04-30T21:09:36.419Z","0.1.1":"2011-04-26T06:54:07.145Z","0.1.0":"2011-04-26T06:46:53.625Z","0.0.9":"2011-04-25T23:57:14.359Z","0.0.8":"2011-04-25T21:09:04.644Z","0.0.7":"2011-04-25T20:03:47.591Z","0.0.6":"2011-04-24T23:43:03.107Z","0.0.5":"2011-04-24T23:07:38.208Z","0.0.4":"2011-04-24T19:59:15.800Z","0.0.3":"2011-04-24T18:12:15.424Z","0.0.2":"2011-04-24T03:42:24.913Z","0.0.1":"2011-04-24T02:47:57.772Z"},"users":{"dawangraoming":true,"shanewholloway":true},"author":{"name":"Dustin Diaz","email":"@ded"},"versions":{"0.2.2":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.2.2","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"devDependencies":{"sink-test":">= 0.0.6"},"scripts":{"test":"node tests/tests.js"},"preferGlobal":true,"bin":{"sqwish":"bin/sqwish"},"_id":"sqwish@0.2.2","dist":{"shasum":"00fe2668104f1228b5bb7ee739ef60121bbcb057","size":4951,"noattachment":false,"key":"/sqwish/-/sqwish-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.2.2.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"ded","email":"polvero@gmail.com"},"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"publish_time":1392101509253,"_cnpm_publish_time":1392101509253,"_hasShrinkwrap":false},"0.2.1":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.2.1","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"devDependencies":{"sink-test":">= 0.0.6"},"scripts":{"test":"node tests/tests.js"},"preferGlobal":true,"bin":{"sqwish":"bin/sqwish"},"readmeFilename":"README.md","_id":"sqwish@0.2.1","dist":{"shasum":"4feed16ce83d2483a561ac45ce323c4209c72def","size":4878,"noattachment":false,"key":"/sqwish/-/sqwish-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.2.1.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"ded","email":"polvero@gmail.com"},"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"publish_time":1355768974757,"_cnpm_publish_time":1355768974757,"_hasShrinkwrap":false},"0.2.0":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.2.0","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"devDependencies":{"sink-test":">= 0.0.6"},"scripts":{"test":"node tests/tests.js"},"preferGlobal":true,"bin":{"sqwish":"bin/sqwish"},"dependencies":{},"_id":"sqwish@0.2.0","_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"8b7e2a8e542378d3bf30d51570b538fd815320fb","size":4423,"noattachment":false,"key":"/sqwish/-/sqwish-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.2.0.tgz"},"publish_time":1306201294815,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1306201294815,"_hasShrinkwrap":false},"0.1.2":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.1.2","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"dependencies":{},"devDependencies":{},"_id":"sqwish@0.1.2","_engineSupported":true,"_npmVersion":"1.0.1rc9","_nodeVersion":"v0.4.1","_defaultsLoaded":true,"dist":{"shasum":"0d39d94ffe96e34b8f01a11736defba8e9254bdd","size":7777,"noattachment":false,"key":"/sqwish/-/sqwish-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.1.2.tgz"},"publish_time":1304197776419,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1304197776419,"_hasShrinkwrap":false},"0.1.1":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.1.1","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"_id":"sqwish@0.1.1","_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"b9d48a39b098cc39f756e8e9ec0450fe1f44e7b2","size":7750,"noattachment":false,"key":"/sqwish/-/sqwish-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.1.1.tgz"},"publish_time":1303800847145,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303800847145,"_hasShrinkwrap":false},"0.1.0":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.1.0","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"_id":"sqwish@0.1.0","_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"210079032a0849a24fce7b41c9f0a420d99c8937","size":7777,"noattachment":false,"key":"/sqwish/-/sqwish-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.1.0.tgz"},"publish_time":1303800413625,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303800413625,"_hasShrinkwrap":false},"0.0.9":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.0.9","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"_id":"sqwish@0.0.9","_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"67fbd3e18cfdb2a906aed3d256f0ef39c961b633","size":3805,"noattachment":false,"key":"/sqwish/-/sqwish-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.0.9.tgz"},"publish_time":1303775834359,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303775834359,"_hasShrinkwrap":false},"0.0.8":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.0.8","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"_id":"sqwish@0.0.8","_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"7c90fef39725dccdc77c637ef7bdf4938d18f030","size":3735,"noattachment":false,"key":"/sqwish/-/sqwish-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.0.8.tgz"},"publish_time":1303765744644,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303765744644,"_hasShrinkwrap":false},"0.0.7":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.0.7","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"_id":"sqwish@0.0.7","_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"b391f3a4a30ef1ca2bf1526aebd410923074d6bd","size":3768,"noattachment":false,"key":"/sqwish/-/sqwish-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.0.7.tgz"},"publish_time":1303761827591,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303761827591,"_hasShrinkwrap":false},"0.0.6":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.0.6","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"_id":"sqwish@0.0.6","_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"b8fe824b22b8473e62a7caefebb05c2803298f9a","size":3554,"noattachment":false,"key":"/sqwish/-/sqwish-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.0.6.tgz"},"publish_time":1303688583107,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303688583107,"_hasShrinkwrap":false},"0.0.5":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.0.5","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"_id":"sqwish@0.0.5","_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"1f464fb9d057df89a463c16982b7e13786c4c612","size":3490,"noattachment":false,"key":"/sqwish/-/sqwish-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.0.5.tgz"},"publish_time":1303686458208,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303686458208,"_hasShrinkwrap":false},"0.0.4":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.0.4","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"_id":"sqwish@0.0.4","_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"1b975ec132e0a9bb2c8291b428a000b800bb834d","size":3269,"noattachment":false,"key":"/sqwish/-/sqwish-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.0.4.tgz"},"publish_time":1303675155800,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303675155800,"_hasShrinkwrap":false},"0.0.3":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.0.3","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"dependencies":{},"devDependencies":{},"_id":"sqwish@0.0.3","_engineSupported":true,"_npmVersion":"1.0.1rc9","_nodeVersion":"v0.4.1","_defaultsLoaded":true,"dist":{"shasum":"06b5dc3f0b475e303b7a650bc7d6614452bf96f1","size":2550,"noattachment":false,"key":"/sqwish/-/sqwish-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.0.3.tgz"},"publish_time":1303668735424,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303668735424,"_hasShrinkwrap":false},"0.0.2":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.0.2","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"dependencies":{},"devDependencies":{},"_id":"sqwish@0.0.2","_engineSupported":true,"_npmVersion":"1.0.1rc9","_nodeVersion":"v0.4.1","_defaultsLoaded":true,"dist":{"shasum":"c99c75ccb16e815e195f9946828779cdb51a8e8c","size":2529,"noattachment":false,"key":"/sqwish/-/sqwish-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.0.2.tgz"},"publish_time":1303616544913,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303616544913,"_hasShrinkwrap":false},"0.0.1":{"name":"sqwish","description":"a tool for compressing CSS","homepage":"https://github.com/ded/sqwish","version":"0.0.1","author":{"name":"Dustin Diaz","email":"@ded"},"keywords":["minify","css","compress"],"main":"src/index.js","engines":{"node":">= 0.4.1"},"directories":{"lib":"src","bin":"bin"},"bin":{"sqwish":"bin/sqwish"},"dependencies":{},"devDependencies":{},"_id":"sqwish@0.0.1","_engineSupported":true,"_npmVersion":"1.0.1rc9","_nodeVersion":"v0.4.1","_defaultsLoaded":true,"dist":{"shasum":"337e1e089165e300e38762d72321cc4caeb8ec3c","size":1502,"noattachment":false,"key":"/sqwish/-/sqwish-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sqwish/download/sqwish-0.0.1.tgz"},"publish_time":1303613277772,"maintainers":[{"name":"fat","email":"jacobthornton@gmail.com"}],"_cnpm_publish_time":1303613277772,"_hasShrinkwrap":false}},"readme":"Welcome to Sqwish\n=================\n\nA [Node](http://nodejs.org) based CSS Compressor. It works like this.\n\n``` javascript\nrequire('sqwish').minify('body { color: #ff33cc; }');\n// => \"body{color:#f3c}\"\n```\n\nCLI\n---\n\nInstall it.\n\n    $ npm install -g sqwish\n\nUse it like this:\n\n    $ sqwish app.css # default output is <file>.min.css therefore app.css => app.min.css\n    $ # or...\n    $ sqwish css/styles.css -o prod/something-else.min.css\n\nNotes\n-----\n\nSqwish does not attempt to fix invalid CSS, therefore, at minimum, your CSS should at least follow the basic rules:\n\n``` css\nselectors[,more selectors] {\n  property: value;\n  another-property: another value;\n}\n```\n\nStrict Optimizations\n--------------------\n\nAside from regular minification, in <code>--strict</code> mode Sqwish will combine duplicate selectors and merge duplicate properties.\n\n``` css\n/* before */\ndiv {\n  color: orange;\n  background: red;\n}\ndiv {\n  color: #ff33cc;\n  margin: 1px 0px 1px 0px;\n}\n\n/* after */\ndiv{color:#f3c;background:red;margin:1px 0}\n```\n\nThis mode can be enabled as so:\n\n    sqwish.minify(css, true);\n\non the command line\n\n    $ sqwish styles.css --strict\n\nDevelopers\n----------\n\nBe sure you have the proper testing harness set up ahead of time by installing the <code>sink-test</code> submodule\n\n    $ npm install --dev\n\nTests can be added in <code>tests/tests.js</code>, and then run as such:\n\n    $ npm test\n\nLicense\n-------\n\nSqwish is copyright Dustin Diaz 2011 under MIT License\n\n**Happy Sqwishing!**","_attachments":{},"homepage":"https://github.com/ded/sqwish"}