{"name":"@csstools/postcss-media-minmax","version":"1.0.2","keywords":["media queries","postcss-plugin","range"],"license":"MIT","_id":"@csstools/postcss-media-minmax@1.0.2","contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"},{"name":"yisi"}],"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-media-minmax#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"77efc4fdd96c7ff97f0d714c940187d25fd87619","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-media-minmax/download/@csstools/postcss-media-minmax-1.0.2.tgz","fileCount":10,"integrity":"sha512-DsEykSINZTqlBefi1uSQBym1Rj0NQOj92dLRd5jUQpSy8yBVaXXmkiUgBUbb+gQh8imAdqPpz2v4sAUnw8yXXA==","signatures":[{"sig":"MEUCIQD18C4nkm9HhX4UZ4J6PAOnrUIkilMUPK35y5/rTrUXEgIgUt3sIy7HZHzCzl8xhEkrKrm+SQQAii7mJN4ngEGPgWU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkM+1VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBwBAApMGxYWyOIRK2TspmQ/bpOSfyaG8/h+quwTpGShTn/YY6aOuo\r\nFQhsvASIwpTonMQaEYpar5iT3MG9opWW//lVe6XQDqNCmjfaCl5cxbcvwOsO\r\nSwkm1OKQbV3J/bUyd8je554CQQa7F0Kf0Kj7aG7QRyqLeBBWSRKSem35tRUx\r\n/jdkS8LWioXMtKEKm8FHoou9cQXEdVasdOlmFynNoOVxg6H+iXTWfj50pWv7\r\n+b7FQG0lUPhin6vWbnwLLNl4D+uzEqnnd0bBV2ttuWNgIAoRZFyBx5XxzolK\r\n3Fd5y+HMM5v8yg+K1TzGsgXl3IqTcqFAzkaa5SqG1RpA11O51Z5gQyf0gZkc\r\nDLqFpe8YXXKhtrMnBG+dz+eaHsoDTkd8iIZkJWmap85Iw42t0zElUVrO+Rg0\r\nN/I5LD/ufiScGLQ7f6+LSYUT2uR2WgXLz0IrLoaC/rpByTKmyxJVBQ4zOVEw\r\nrWCgMJnXWU1r0/V7ycKqN26nyLdHa2PW+NnGwckVOYc1u7UIQNk2/WxySXwi\r\nJCgLlCHno1KecRw1pd57MqBgZfSE07sy22Mk0p1O89f1S5DWNA4Ixf7vqD6E\r\nMgKyjhCHCWPyWPzLrDwSY/NN22PxRkT4gyYh3OfmPs0lR+lnPTR1QSXjUMmg\r\nWcQGVEXJQ0zIwnb82zP4ROWtTCk3v6xaEA0=\r\n=V0KC\r\n-----END PGP SIGNATURE-----\r\n","size":6376,"noattachment":false,"key":"/@csstools/postcss-media-minmax/-/@csstools/postcss-media-minmax-1.0.2.tgz"},"main":"dist/index.cjs","types":"dist/index.d.ts","volta":{"extends":"../../package.json"},"module":"dist/index.mjs","engines":{"node":"^14 || ^16 || >=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"funding":{"url":"https://opencollective.com/csstools","type":"opencollective"},"gitHead":"a35a3768da2fb28911fe3c08ad8b4fbfbec79ee1","scripts":{"docs":"node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs","lint":"node ../../.github/bin/format-package-json.mjs","test":"node .tape.mjs && node ./test/_import.mjs && node ./test/_require.cjs","build":"rollup -c ../../rollup/default.mjs","test:browser":"node ./test/_browser.mjs","prepublishOnly":"npm run build && npm run test","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.mjs"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"csstools":{"cssdbId":"media-query-ranges","specUrl":"https://www.w3.org/TR/mediaqueries-4/#mq-features","exportName":"postcssMediaMinMax","humanReadableName":"PostCSS Media MinMax"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-media-minmax"},"_npmVersion":"9.4.1","description":"Use the range notation in CSS media queries","directories":{},"_nodeVersion":"18.13.0","dependencies":{"@csstools/css-calc":"^1.1.1","@csstools/css-tokenizer":"^2.1.1","@csstools/css-parser-algorithms":"^2.1.1","@csstools/media-query-list-parser":"^2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"@csstools/postcss-tape":"*"},"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-media-minmax_1.0.2_1681124692873_0.5914645348554171","host":"s3://npm-registry-packages"},"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[<img alt=\"npm version\" src=\"https://img.shields.io/npm/v/@csstools/postcss-media-minmax.svg\" height=\"20\">][npm-url] [<img alt=\"Build Status\" src=\"https://github.com/csstools/postcss-plugins/workflows/test/badge.svg\" height=\"20\">][cli-url] [<img alt=\"Discord\" src=\"https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white\">][discord]<br><br>[<img alt=\"Baseline Status\" src=\"https://cssdb.org/images/badges-baseline/media-query-ranges.svg\" height=\"20\">][css-url] [<img alt=\"CSS Standard Status\" src=\"https://cssdb.org/images/badges/media-query-ranges.svg\" height=\"20\">][css-url] \n\n```bash\nnpm install @csstools/postcss-media-minmax --save-dev\n```\n\n[PostCSS Media MinMax] lets you use the range notation in media queries following the [Media Queries 4 Specification].\n\n```pcss\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[PostCSS Media MinMax] runs in all Node environments, with special\ninstructions for:\n\n- [Node](INSTALL.md#node)\n- [PostCSS CLI](INSTALL.md#postcss-cli)\n- [PostCSS Load Config](INSTALL.md#postcss-load-config)\n- [Webpack](INSTALL.md#webpack)\n- [Next.js](INSTALL.md#nextjs)\n- [Gulp](INSTALL.md#gulp)\n- [Grunt](INSTALL.md#grunt)\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":1681124693061,"maintainers":[{"name":"romainmenke","email":"romainmenke@gmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_cnpm_publish_time":1681124693061,"dist-tags":{"latest":"3.0.9"}}