{"_id":"postcss-csso","_rev":"1974460","name":"postcss-csso","description":"PostCSS plugin to minify CSS using CSSO","dist-tags":{"latest":"6.0.0"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"time":{"modified":"2021-12-15T01:41:15.000Z","created":"2016-03-15T16:07:35.894Z","6.0.0":"2021-12-15T01:37:30.868Z","5.0.1":"2021-04-05T21:49:24.229Z","5.0.0":"2020-10-05T07:48:45.323Z","4.0.0":"2019-11-02T18:49:56.609Z","3.0.0":"2017-10-12T13:48:56.737Z","2.0.0":"2017-03-14T15:35:55.841Z","1.1.2":"2016-05-08T20:27:43.684Z","1.1.1":"2016-04-12T15:38:10.951Z","1.1.0":"2016-04-07T13:10:29.335Z","1.0.1":"2016-03-20T00:36:06.142Z","1.0.0":"2016-03-16T20:35:17.811Z","0.0.1":"2016-03-15T16:07:35.894Z"},"users":{"malitov":true,"danielbayley":true},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/lahmatiy/postcss-csso.git"},"versions":{"6.0.0":{"name":"postcss-csso","version":"6.0.0","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"repository":{"type":"git","url":"git+https://github.com/lahmatiy/postcss-csso.git"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","type":"module","main":"./cjs/index.cjs","exports":{".":{"import":"./lib/index.js","require":"./cjs/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"mocha test --reporter ${REPORTER:-progress}","test:cjs":"mocha cjs-test --reporter ${REPORTER:-progress}","lint":"eslint lib test","build":"npm run esm-to-cjs","build-and-test":"npm run esm-to-cjs-and-test","esm-to-cjs":"node scripts/esm-to-cjs","esm-to-cjs-and-test":"npm run esm-to-cjs && npm run test:cjs","coverage":"c8 --reporter=lcovonly npm test","prepublishOnly":"npm run lint && npm test && npm run build-and-test"},"engines":{"node":"^12.20.0 || ^14.13.0 || >=15.0.0","npm":">=7.0.0"},"peerDependencies":{"postcss":"^8.0.0"},"dependencies":{"csso":"^5.0.1"},"devDependencies":{"c8":"^7.10.0","eslint":"^8.4.1","mocha":"^9.1.3","postcss":"^8.0.0","postcss-nested":"^5.0.5","rollup":"^2.60.2"},"gitHead":"ec535176605ebade2a2164ac25421d61b7801bc6","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"homepage":"https://github.com/lahmatiy/postcss-csso#readme","_id":"postcss-csso@6.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"ff3ec8ce0694d797b75f7f7e10c4ac5a35e7780f","size":4170,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-6.0.0.tgz"},"_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"directories":{},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-csso_6.0.0_1639532250697_0.46279550043549444"},"_hasShrinkwrap":false,"publish_time":1639532250868,"_cnpm_publish_time":1639532250868},"5.0.1":{"name":"postcss-csso","version":"5.0.1","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"git+https://github.com/lahmatiy/postcss-csso.git"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=10.12.0"},"scripts":{"test":"mocha --reporter dot","lint":"eslint lib *.js","lint-and-test":"npm run lint && npm test","travis":"npm run lint-and-test"},"peerDependencies":{"postcss":"^8.0.0"},"dependencies":{"csso":"^4.0.2"},"devDependencies":{"eslint":"^7.10.0","mocha":"^8.1.3","postcss":"^8.0.0","postcss-nested":"^5.0.5"},"gitHead":"08b75a2cf7aecc94e8771d8d78fdeda2b05fe3ac","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@5.0.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"023175280a4a8ff916d7763d3543c1fe55ed67a8","size":4040,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-5.0.1.tgz"},"_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"directories":{},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-csso_5.0.1_1617659364115_0.05037721072395929"},"_hasShrinkwrap":false,"publish_time":1617659364229,"_cnpm_publish_time":1617659364229},"5.0.0":{"name":"postcss-csso","version":"5.0.0","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"git+https://github.com/lahmatiy/postcss-csso.git"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=10.12.0"},"scripts":{"test":"mocha --reporter dot","lint":"eslint lib *.js","lint-and-test":"npm run lint && npm test","travis":"npm run lint-and-test"},"peerDependencies":{"postcss":"^8.0.0"},"dependencies":{"csso":"^4.0.2"},"devDependencies":{"eslint":"^7.10.0","mocha":"^8.1.3","postcss":"^8.0.0"},"gitHead":"7b267e002c22f2baf7cb562fb5d521053fe85e65","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@5.0.0","_nodeVersion":"10.12.0","_npmVersion":"6.14.7","dist":{"shasum":"e2e2cce06608900a1d11f298693da1b4e45d8b8c","size":3960,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-5.0.0.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-csso_5.0.0_1601884125168_0.8619052330910946"},"_hasShrinkwrap":false,"publish_time":1601884125323,"_cnpm_publish_time":1601884125323},"4.0.0":{"name":"postcss-csso","version":"4.0.0","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"git+https://github.com/lahmatiy/postcss-csso.git"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=8.0.0"},"scripts":{"test":"mocha --reporter dot","lint":"eslint lib *.js","lint-and-test":"npm run lint && npm test","travis":"npm run lint-and-test"},"peerDependencies":{"postcss":">=6.0.0 <8.0.0"},"dependencies":{"csso":"^4.0.2"},"devDependencies":{"es6-promise-polyfill":"^1.2.0","eslint":"^6.6.0","mocha":"^6.2.0","postcss":"^7.0.0"},"gitHead":"38f070399f20377301c9de9eac6460d855e9e413","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@4.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.12.1","dist":{"shasum":"30fef9303ecbeb0424dab1228275416fc7186a50","size":3919,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-4.0.0.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-csso_4.0.0_1572720596432_0.08444967735459641"},"_hasShrinkwrap":false,"publish_time":1572720596609,"_cnpm_publish_time":1572720596609},"3.0.0":{"name":"postcss-csso","version":"3.0.0","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"git+https://github.com/lahmatiy/postcss-csso.git"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=4.0.0"},"eslintConfig":{"env":{"node":true,"mocha":true,"es6":true},"rules":{"no-undef":2,"no-unused-vars":[2,{"vars":"all","args":"after-used"}]}},"scripts":{"test":"mocha --reporter dot","codestyle":"jscs lib test.js && eslint lib test.js","codestyle-and-test":"npm run codestyle && npm test","travis":"npm run codestyle-and-test"},"dependencies":{"csso":"~3.3.0","postcss":"^6.0.0"},"devDependencies":{"es6-promise-polyfill":"^1.2.0","eslint":"^4.8.0","jscs":"^3.0.0","mocha":"^4.0.0"},"files":["lib","index.js","HISTORY.md","LICENSE","README.md"],"gitHead":"913b289b723d6ccb6e3ba3a50cb760cdd2de062f","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@3.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"dist":{"shasum":"7473e72f1ec9a098545e36cc93658153704d6881","size":4092,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-3.0.0.tgz"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-csso-3.0.0.tgz_1507816135362_0.9165352759882808"},"directories":{},"publish_time":1507816136737,"_hasShrinkwrap":false,"_cnpm_publish_time":1507816136737},"2.0.0":{"name":"postcss-csso","version":"2.0.0","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"https://github.com/lahmatiy/postcss-csso"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"eslintConfig":{"env":{"node":true,"mocha":true,"es6":true},"rules":{"no-undef":2,"no-unused-vars":[2,{"vars":"all","args":"after-used"}]}},"scripts":{"test":"mocha --reporter dot","codestyle":"jscs lib && eslint lib test","codestyle-and-test":"npm run codestyle && npm test","travis":"npm run codestyle-and-test"},"dependencies":{"csso":"~3.0.0","postcss":"^5.0.0"},"devDependencies":{"es6-promise-polyfill":"^1.2.0","eslint":"^2.2.0","jscs":"~2.10.0","mocha":"^2.4.5"},"files":["lib","index.js","HISTORY.md","LICENSE","README.md"],"gitHead":"1408c2c05e99737dd0366bfe4c42bfdbb4cb2d24","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@2.0.0","_shasum":"43c995e0dec54b44e846752de1a435e97f0eb1cd","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"43c995e0dec54b44e846752de1a435e97f0eb1cd","size":4066,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/postcss-csso-2.0.0.tgz_1489505755068_0.4035295946523547"},"directories":{},"publish_time":1489505755841,"_cnpm_publish_time":1489505755841,"_hasShrinkwrap":false},"1.1.2":{"name":"postcss-csso","version":"1.1.2","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"https://github.com/lahmatiy/postcss-csso"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"eslintConfig":{"env":{"node":true,"mocha":true,"es6":true},"rules":{"no-undef":2,"no-unused-vars":[2,{"vars":"all","args":"after-used"}]}},"scripts":{"test":"mocha --reporter dot","codestyle":"jscs lib && eslint lib test","codestyle-and-test":"npm run codestyle && npm test","travis":"npm run codestyle-and-test"},"dependencies":{"csso":"^2.1.0","postcss":"^5.0.0"},"devDependencies":{"es6-promise-polyfill":"^1.2.0","eslint":"^2.2.0","jscs":"~2.10.0","mocha":"^2.4.5"},"files":["lib","index.js","HISTORY.md","LICENSE","README.md"],"gitHead":"b61066f682217dbc3a13a450cbe4e87661459e21","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@1.1.2","_shasum":"418203fdf2846289b9fcdf3b2759ecf0f33edc19","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"418203fdf2846289b9fcdf3b2759ecf0f33edc19","size":4063,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-1.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/postcss-csso-1.1.2.tgz_1462739262652_0.7019725660793483"},"directories":{},"publish_time":1462739263684,"_cnpm_publish_time":1462739263684,"_hasShrinkwrap":false},"1.1.1":{"name":"postcss-csso","version":"1.1.1","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"https://github.com/lahmatiy/postcss-csso"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"eslintConfig":{"env":{"node":true,"mocha":true,"es6":true},"rules":{"no-undef":2,"no-unused-vars":[2,{"vars":"all","args":"after-used"}]}},"scripts":{"test":"mocha --reporter dot","codestyle":"jscs lib && eslint lib test","codestyle-and-test":"npm run codestyle && npm test","travis":"npm run codestyle-and-test"},"dependencies":{"csso":"^2.0.0","postcss":"^5.0.0"},"devDependencies":{"es6-promise-polyfill":"^1.2.0","eslint":"^2.2.0","jscs":"~2.10.0","mocha":"^2.4.5"},"files":["lib","index.js","HISTORY.md","LICENSE","README.md"],"gitHead":"24536e039ccf13e5d1b23031852f3e326071e4ab","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@1.1.1","_shasum":"ce53b80a6191fac1f2179b8d2f69d7f3917bb165","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"ce53b80a6191fac1f2179b8d2f69d7f3917bb165","size":3975,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-1.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/postcss-csso-1.1.1.tgz_1460475489479_0.0051442403346300125"},"directories":{},"publish_time":1460475490951,"_cnpm_publish_time":1460475490951,"_hasShrinkwrap":false},"1.1.0":{"name":"postcss-csso","version":"1.1.0","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"https://github.com/lahmatiy/postcss-csso"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"eslintConfig":{"env":{"node":true,"mocha":true,"es6":true},"rules":{"no-undef":2,"no-unused-vars":[2,{"vars":"all","args":"after-used"}]}},"scripts":{"test":"mocha --reporter dot","codestyle":"jscs lib && eslint lib test","codestyle-and-test":"npm run codestyle && npm test","travis":"npm run codestyle-and-test"},"dependencies":{"csso":"^2.0.0","postcss":"^5.0.0"},"devDependencies":{"es6-promise-polyfill":"^1.2.0","eslint":"^2.2.0","jscs":"~2.10.0","mocha":"^2.4.5"},"files":["lib","index.js","HISTORY.md","LICENSE","README.md"],"gitHead":"bdb4fbdd2d1ec3cd399c848c62fe47926a5f1a60","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@1.1.0","_shasum":"2cad8066f6fc053bea237858f787c141696133b2","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"2cad8066f6fc053bea237858f787c141696133b2","size":3935,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-csso-1.1.0.tgz_1460034627007_0.5507703910116106"},"directories":{},"publish_time":1460034629335,"_cnpm_publish_time":1460034629335,"_hasShrinkwrap":false},"1.0.1":{"name":"postcss-csso","version":"1.0.1","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"https://github.com/lahmatiy/postcss-csso"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"eslintConfig":{"env":{"node":true,"mocha":true,"es6":true},"rules":{"no-undef":2,"no-unused-vars":[2,{"vars":"all","args":"after-used"}]}},"scripts":{"test":"jscs . && eslint . && mocha","travis":"npm run test"},"dependencies":{"csso":"^1.7.0","postcss":"^5.0.0"},"devDependencies":{"es6-promise-polyfill":"^1.2.0","eslint":"^2.2.0","jscs":"~2.10.0","mocha":"^2.4.5"},"files":["lib","index.js","HISTORY.md","LICENSE","README.md"],"gitHead":"4a2c613a896077c97d5dc3d6381ba8732a1e64ad","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@1.0.1","_shasum":"be898727ed40a556a50bb08514369f538981ea45","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"be898727ed40a556a50bb08514369f538981ea45","size":3890,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/postcss-csso-1.0.1.tgz_1458434163969_0.9750951142050326"},"directories":{},"publish_time":1458434166142,"_cnpm_publish_time":1458434166142,"_hasShrinkwrap":false},"1.0.0":{"name":"postcss-csso","version":"1.0.0","description":"PostCSS plugin to minify CSS using CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"https://github.com/lahmatiy/postcss-csso"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"eslintConfig":{"env":{"node":true,"mocha":true,"es6":true},"rules":{"no-undef":2,"no-unused-vars":[2,{"vars":"all","args":"after-used"}]}},"scripts":{"test":"jscs . && eslint . && mocha","travis":"npm run test"},"dependencies":{"csso":"^1.7.0","postcss":"^5.0.0"},"devDependencies":{"es6-promise-polyfill":"^1.2.0","eslint":"^2.2.0","jscs":"~2.10.0","mocha":"^2.4.5"},"files":["lib","index.js","HISTORY.md","LICENSE","README.md"],"gitHead":"a37e42a3e2c50880636f4fac03676a3557cf5a56","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@1.0.0","_shasum":"deb148d6ed288ffbe3ed678a4a0f9b427a96771f","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"deb148d6ed288ffbe3ed678a4a0f9b427a96771f","size":3587,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-csso-1.0.0.tgz_1458160515719_0.12647869135253131"},"directories":{},"publish_time":1458160517811,"_cnpm_publish_time":1458160517811,"_hasShrinkwrap":false},"0.0.1":{"name":"postcss-csso","version":"0.0.1","description":"PostCSS plugin to minify CSS with CSSO","keywords":["css","minifier","minify","compress","optimisation","csso","postcss","plugin"],"homepage":"https://github.com/lahmatiy/postcss-csso","repository":{"type":"git","url":"https://github.com/lahmatiy/postcss-csso"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","travis":"npm run test"},"dependencies":{"csso":"^1.7.0","postcss":"^5.0.0"},"devDependencies":{"es6-promise-polyfill":"^1.2.0","mocha":"^2.4.5"},"files":["index.js","HISTORY.md","LICENSE","README.md"],"gitHead":"26956f04321434010d4c7f0a7b142323d7babdad","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"_id":"postcss-csso@0.0.1","_shasum":"e5550bd4951cc3f540e57304cec97eac11e8cfb0","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"e5550bd4951cc3f540e57304cec97eac11e8cfb0","size":1704,"noattachment":false,"key":"/postcss-csso/-/postcss-csso-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-csso/download/postcss-csso-0.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-csso-0.0.1.tgz_1458058053589_0.6633016760461032"},"directories":{},"publish_time":1458058055894,"_cnpm_publish_time":1458058055894,"_hasShrinkwrap":false}},"readme":"[![NPM version](https://img.shields.io/npm/v/postcss-csso.svg)](https://www.npmjs.com/package/postcss-csso)\n[![Build Status](https://github.com/lahmatiy/postcss-csso/actions/workflows/build.yml/badge.svg)](https://github.com/lahmatiy/postcss-csso/actions/workflows/build.yml)\n[![Coverage Status](https://coveralls.io/repos/github/lahmatiy/postcss-csso/badge.svg?branch=master)](https://coveralls.io/github/lahmatiy/postcss-csso?branch=master)\n[![Twitter](https://img.shields.io/badge/Twitter-@cssoptimizer-blue.svg)](https://twitter.com/cssoptimizer)\n\n# postcss-csso\n\n[PostCSS](https://github.com/postcss/postcss) plugin to minify CSS using [CSSO](https://github.com/css/csso) (a CSS minifier with structural optimizations).\n\nUnder the hood, the plugin converts `PostCSS` AST into `CSSO`'s AST, optimises it and converts back. The plugin uses `PostCSS`'s input AST nodes (or their clones) on back convertation, so the shape of the original `PostCSS`'s nodes is preserved after the compression in most cases (e.g. properties added by other plugins aren't lost). This approach makes it possible to achieve great performance and correct source maps generation.\n\nThe performance of `postcss-csso` is approximately the same as `CSSO` has itself (see `CSSO` numbers in [minifiers comparison table](https://goalsmashers.github.io/css-minification-benchmark/)).\n\n> If you have any difficulties with the output of this plugin, please use the [CSSO tracker](https://github.com/css/csso/issues).\n\n## Install\n\n```\nnpm install postcss-csso\n```\n\n## Usage\n\n```js\nimport postcss from 'postcss';\nimport csso from 'postcss-csso';\n// CommonJS:\n// const csso = require('postcss-csso');\n\npostcss([\n    csso\n])\n    .process('.a { color: #FF0000; } .b { color: rgba(255, 0, 0, 1) }')\n    .then((result) => {\n        console.log(result.css);\n        // .a,.b{color:red}\n    });\n```\n\nPlugin takes the same [options](https://github.com/css/csso#compressast-options) as `compress()` method of CSSO with no exception.\n\n```js\npostcss([\n    csso({ restructure: false })\n])\n    .process('.a { color: #FF0000; } .b { color: rgba(255, 0, 0, 1) }')\n    .then((result) => {\n        console.log(result.css);\n        // .a{color:red}.b{color:red}\n    });\n```\n\nUsing in `postcss.config.js`:\n\n```js\nimport csso from 'postcss-csso';\n\nexport const plugins = [\n    csso({\n        restructure: false\n    })\n];\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/lahmatiy/postcss-csso#readme","bugs":{"url":"https://github.com/lahmatiy/postcss-csso/issues"},"license":"MIT"}