{"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":"http://registry-npm.ywwl.com/@putout/operator-css/download/@putout/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,"size":1820,"noattachment":false,"key":"/@putout/operator-css/-/@putout/operator-css-1.0.0.tgz"},"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"},"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","publish_time":1790498805585,"_cnpm_publish_time":1790498805585,"dist-tags":{"latest":"1.0.1"}}