{"name":"postcss-overflow-shorthand","description":"Use the overflow shorthand in CSS","version":"7.0.0","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"postcss-value-parser":"^4.2.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-overflow-shorthand#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-overflow-shorthand"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["css","overflow","postcss","postcss-plugin","properties","shorthands","values"],"gitHead":"0401289903325245f9dd9c2bd0cbcf9844a64c52","_id":"postcss-overflow-shorthand@7.0.0","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-9SLpjoUdGRoRrzoOdX66HbUs0+uDwfIAiXsRa7piKGOqPd6F4ZlON9oaDSP5r1Qpgmzw5L9Ht0undIK6igJPMA==","shasum":"f7f804104d3265cc1f03d34e1980801f162267b7","tarball":"http://registry-npm.ywwl.com/postcss-overflow-shorthand/download/postcss-overflow-shorthand-7.0.0.tgz","fileCount":6,"unpackedSize":5445,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDUy7DGeR4ieIvy4RKRw95Ju7nrqvmv/Ycib1I2/0OgYQIgFzIDocc//CFS48BakEeaEMSvJJb7joedUF7s4duuYMg="}],"size":2611,"noattachment":false,"key":"/postcss-overflow-shorthand/-/postcss-overflow-shorthand-7.0.0.tgz"},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-overflow-shorthand_7.0.0_1768375455778_0.9295433188373592"},"_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`npm install postcss-overflow-shorthand --save-dev`\n\n[PostCSS Overflow Shorthand] lets you use the `overflow` shorthand in CSS,\nfollowing the [CSS Overflow] specification.\n\n```css\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\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```css\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":1768375455906,"_cnpm_publish_time":1768375455906,"dist-tags":{"latest":"7.0.1"}}