{"name":"postcss-overflow-shorthand","version":"3.0.3","description":"Use the overflow shorthand in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-overflow-shorthand#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","lint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","prepublishOnly":"npm run clean && npm run build && npm run test","stryker":"stryker run --logLevel error","test":"postcss-tape --ci && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs"},"engines":{"node":"^12 || ^14 || >=16"},"devDependencies":{"postcss":"^8.3.6","postcss-tape":"^6.0.1"},"peerDependencies":{"postcss":"^8.4"},"keywords":["postcss","css","postcss-plugin","overflow","properties","shorthands","values"],"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-overflow-shorthand"},"volta":{"extends":"../../package.json"},"gitHead":"e600651d1d4f87b96b5f5fda0c73f0ea94084e70","_id":"postcss-overflow-shorthand@3.0.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-CxZwoWup9KXzQeeIxtgOciQ00tDtnylYIlJBBODqkgS/PU2jISuWOL/mYLHmZb9ZhZiCaNKsCRiLp22dZUtNsg==","shasum":"ebcfc0483a15bbf1b27fdd9b3c10125372f4cbc2","tarball":"http://registry-npm.ywwl.com/postcss-overflow-shorthand/download/postcss-overflow-shorthand-3.0.3.tgz","fileCount":6,"unpackedSize":12659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/rIaCRA9TVsSAnZWagAAfsoP/2BsMFaLbPEUirfX/5ua\n8TGsrJqnFfD9mdO19n8idLeFzslTUYdoQZrpN1O/lKTaJlEnbjeFU119U0TI\ndQWmQ4ENaaRqMs1pH1yil2vkjJLfmTK9e2t7vOVHRQmEef/FZufk1NnsIlTk\n4sSIoiwEvMdAu8iuDvVFKQJ6szgtQiBAOzqE3gEKtdeJwqphST1qpSeIxejb\npVqpc76S0LKkPDppM5/qSKxK/a0SmzuSeHDdi/HYvvC7RbY4zQ5AJBrDtFAQ\n9OHsRWdTkNJkhX6tmgBMVh4n+Soq4PsNaqIyeQsV4ySE2RjV+EJKbaIUarvI\nQM2QEGANnuTtgIVvevlPBmEvkhXatN8C0O4xfaGWiRl14HwvpP+KM0UdVUdt\nyvWS98ig0lPz88aa70j4bjn7kHQys0nQryqOzusYrKJJR6gz1xDR9gTXQedA\nydK2+VfLiSAbDxEjHAfrf3oAv1SruRtmc6g6Mcj0r/8m6cgz+ZU9xNGSR8Ht\nN/6XLNtwoyrAs2J6nrgBZIhjvPvlsRg82a2zfzmzxwS6RhZHnooE+B4s5x4w\nLovdxh9Ay7CQNQ1IaQZy6sncgXnlEMvZ0jWVjIWaOdBUqz9zCcnnHhVv6j3e\nXlnEbOr/WOxQAqpKs7wrtkdg2Y+Dvx2K2enP8qWwzDrpNZn6YA8KU1gNTlVE\nx0mw\r\n=MvC9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7rA+iRC10oSQ7a8byc1tSYDBLY1s1cXGhyi7VD1bqxgIgPqRBWlwUQo89gqchMvjLBoqk3YRs4nMmIT+Lbjkf/6w="}],"size":5009,"noattachment":false,"key":"/postcss-overflow-shorthand/-/postcss-overflow-shorthand-3.0.3.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-overflow-shorthand_3.0.3_1644081690555_0.6113465069929191"},"_hasShrinkwrap":false,"readme":"# PostCSS Overflow Shorthand [<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/postcss-overflow-shorthand.svg\" height=\"20\">][npm-url] [<img alt=\"CSS Standard Status\" src=\"https://cssdb.org/images/badges/overflow-property.svg\" height=\"20\">][css-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]\n\n```bash\nnpm install postcss-overflow-shorthand --save-dev\n```\n\n[PostCSS Overflow Shorthand] lets you use the `overflow` shorthand in CSS,\nfollowing the [CSS Overflow] specification.\n\n```pcss\nhtml {\n\toverflow: hidden auto;\n}\n\n/* becomes */\n\nhtml {\n\toverflow-x: hidden;\n\toverflow-y: auto;\n\toverflow: hidden auto;\n}\n```\n\n## Usage\n\nAdd [PostCSS Overflow Shorthand] to your project:\n\n```bash\nnpm install postcss postcss-overflow-shorthand --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssOverflowShorthand = require('postcss-overflow-shorthand');\n\npostcss([\n\tpostcssOverflowShorthand(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Overflow Shorthand] 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## Options\n\n### preserve\n\nThe `preserve` option determines whether the original notation\nis preserved. By default, it is preserved.\n\n```js\npostcssOverflowShorthand({ preserve: false })\n```\n\n```pcss\nhtml {\n\toverflow: hidden auto;\n}\n\n/* becomes */\n\nhtml {\n\toverflow-x: hidden;\n\toverflow-y: auto;\n}\n```\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#overflow-property\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/postcss-overflow-shorthand\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Overflow Shorthand]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-overflow-shorthand\n[CSS Overflow]: https://drafts.csswg.org/css-overflow/#propdef-overflow\n","publish_time":1644081690731,"_cnpm_publish_time":1644081690731,"dist-tags":{"latest":"7.0.1"}}