{"_id":"@putout/operator-css","_rev":"2-bea5af21e0d1e053096a57f34bab794a","name":"@putout/operator-css","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@putout/operator-css","version":"1.0.0","keywords":["putout","putout-operator","operator","css"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/operator-css@1.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-css#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"338293c9cdcc9ea1861609df44be2b32a6162d37","tarball":"https://registry.npmjs.org/@putout/operator-css/-/operator-css-1.0.0.tgz","fileCount":5,"integrity":"sha512-WO5FpT+AB130WQnPMwHZHQRoCSRx//NVKNCDbYMR8fH+5r8nBeU5wslnvLYlKfhRdIjSk7L+0VdQjpfd/+IaKA==","signatures":[{"sig":"MEYCIQDlt+kfzXit6XS0j+fS4mVlw+QwBdxSyS7tGeB/A3uKKAIhAOfdZnDkYV7404rDK3WK5gKW6AUB8CsIhjcpf0cJp1/I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3522},"main":"lib/css.js","type":"module","types":"./lib/css.d.ts","engines":{"node":">=22"},"gitHead":"8a7fc3c3f1073410d22b8e30ea896ee2de0eddf4","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"12.0.2","description":"🐊Putout operator adds ability to work with css","directories":{},"_nodeVersion":"26.10.0","dependencies":{"happy-style":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","montag":"^2.0.0","nodemon":"^3.0.1","superc8":"^12.0.0","check-dts":"^2.0.0","supertape":"^13.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"_npmOperationalInternal":{"tmp":"tmp/operator-css_1.0.0_1790498805453_0.21000297766710707","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"_id":"@putout/operator-css@1.0.1","tag":false,"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"dist":{"shasum":"a4632bf3dfdd5d152dc4a1f307e80454a795057a","tarball":"https://registry.npmjs.org/@putout/operator-css/-/operator-css-1.0.1.tgz","fileCount":5,"integrity":"sha512-kWulNxlp2ahOim903awhHwPz1IYKp7EEuUuMvhZeZ386ICatYvvNkySmN5caPBXzlPSMYTb2laMB1jIXetDJpA==","signatures":[{"sig":"MEUCICRx75v4kPebh0lW1X0dBe/VaahMoszy0aIYSB9ga+nGAiEAnG+eLRjG1WJvtCsEvVZI8ReGMIlrG9kp6HmFNATog2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCkcJ6XfV14U4QiE5TM8gQPeS54IQivP4bO4NMKXt3baAIgTT8AKhLx5/zao768dOtUgu2Wi2F+cy5vZWCY5rM/syE="}],"unpackedSize":3428},"main":"lib/css.js","name":"@putout/operator-css","type":"module","types":"./lib/css.d.ts","author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"engines":{"node":">=22"},"gitHead":"8a7fc3c3f1073410d22b8e30ea896ee2de0eddf4","license":"MIT","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"version":"1.0.1","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-css#readme","keywords":["putout","putout-operator","operator","css"],"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"12.0.2","description":"🐊Putout operator adds ability to work with css","directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_nodeVersion":"26.10.0","dependencies":{"happy-style":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","montag":"^2.0.0","nodemon":"^3.0.1","superc8":"^12.0.0","check-dts":"^2.0.0","supertape":"^13.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/operator-css_1.0.1_1790499250417_0.8606062646745074"}}},"time":{"created":"2026-09-27T08:46:45.072Z","modified":"2026-09-27T08:54:10.659Z","1.0.0":"2026-09-27T08:46:45.585Z","1.0.1":"2026-09-27T08:54:10.490Z"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-css#readme","keywords":["putout","putout-operator","operator","css"],"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"description":"🐊Putout operator adds ability to work with css","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"readme":"# @putout/operator-css [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/operator-css.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/operator-css \"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) operator adds ability to lint css.\n\n## Install\n\n```\nnpm i putout @putout/operator-css\n```\n\n## API\n\n### `convertJsToCss`\n\n```js\nimport {operator} from 'putout';\n\nconst {convertJsToCss} = operator;\n\nconvertJsToCss(`\n    [\n        rule(selector([\n            typeSelector('button'),\n        ]), [\n            declaration('color', string('red')),\n        ]),\n    ];\n`);\n```\n\n### `convertCssToJs`\n\n```js\nimport {operator} from 'putout';\n\nconst {convertCssToJs} = operator;\n\nconvertCssToJs(`\n    button {\n        color: \"red\";\n    }\n`);\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}