{"_id":"@csstools/postcss-media-minmax@3.0.5","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"88467629d341522c6af68f204c5abc89ddb0749a","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-media-minmax/download/@csstools/postcss-media-minmax-3.0.5.tgz","fileCount":6,"integrity":"sha512-Wwjhopy23N9lGrZ8FbKXJVbfMxldVcKeQRjScFTEnGfKaFfFVZFwqUz8l6NluuS03ZrNMVB+JZjBcVCZ+6uiIg==","signatures":[{"sig":"MEUCICkWkEufLf+8EKRWh6mtm47tNEow2gA5J2++aDfehEfVAiEAx41Im2kCDv514Uj99Ec+2mIi6ObWAvMETsnrtBXvA0Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCDkW4Qeg0sNoGfUms0dDd7tZTHYtTBsnt7ZjUZavbA/gIhAIliC5KqXkRuAzGZzXvgY16UgQYSZpEn/A/8S/u+feSc"}],"unpackedSize":11408,"size":4491,"noattachment":false,"key":"/@csstools/postcss-media-minmax/-/@csstools/postcss-media-minmax-3.0.5.tgz"},"name":"@csstools/postcss-media-minmax","type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"b0c673ae94557550f82cee402cd1d38a4e5b4928","license":"MIT","scripts":{},"version":"3.0.5","_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-media-minmax#readme","keywords":["media queries","postcss-plugin","range"],"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-media-minmax"},"_npmVersion":"11.13.0","description":"Use the range notation in CSS media queries","directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_nodeVersion":"26.1.0","contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"},{"name":"yisi"}],"dependencies":{"@csstools/css-calc":"^3.4.0","@csstools/css-tokenizer":"^4.0.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/media-query-list-parser":"^5.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-media-minmax_3.0.5_1789286629094_0.6990929850161824"},"readme":"# PostCSS Media MinMax [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][PostCSS]\n\n`npm install @csstools/postcss-media-minmax --save-dev`\n\n[PostCSS Media MinMax] lets you use the range notation in media queries following the [Media Queries 4 Specification].\n\n```css\n@media screen and (width >=500px) and (width <=1200px) {\n\t.bar {\n\t\tdisplay: block;\n\t}\n}\n\n/* becomes */\n\n@media screen and (min-width:500px) and (max-width:1200px) {\n\t.bar {\n\t\tdisplay: block;\n\t}\n}\n```\n\n## Usage\n\nAdd [PostCSS Media MinMax] to your project:\n\n```bash\nnpm install postcss @csstools/postcss-media-minmax --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssMediaMinMax = require('@csstools/postcss-media-minmax');\n\npostcss([\n\tpostcssMediaMinMax(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n\n\n_See prior work by [yisibl](https://github.com/yisibl) here [postcss-media-minmax](https://github.com/postcss/postcss-media-minmax)\nTo ensure long term maintenance and to provide the needed features this plugin was recreated based on yisibl's work._\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#media-query-ranges\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-media-minmax\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Media MinMax]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-media-minmax\n[Media Queries 4 Specification]: https://www.w3.org/TR/mediaqueries-4/#mq-features\n","publish_time":1789286629183,"_cnpm_publish_time":1789286629183,"dist-tags":{"latest":"3.0.9"}}