{"name":"postcss-overflow-shorthand","version":"3.0.0","description":"Use the overflow shorthand in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-overflow-shorthand.git"},"homepage":"https://github.com/jonathantneal/postcss-overflow-shorthand#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-overflow-shorthand/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:ec":"echint --ignore index.*.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=12"},"peerDependencies":{"postcss":"^8.3"},"devDependencies":{"@babel/core":"7.15.5","@babel/preset-env":"7.15.6","@rollup/plugin-babel":"5.3.0","eslint":"7.32.0","postcss":"8.3.6","postcss-tape":"6.0.1","pre-commit":"1.2.2","rollup":"2.56.3"},"eslintConfig":{"env":{"browser":true,"es6":true,"node":true},"extends":"eslint:recommended","parserOptions":{"ecmaVersion":2020,"impliedStrict":true,"sourceType":"module"},"root":true},"keywords":["postcss","css","postcss-plugin","overflow","properties","shorthands","values"],"gitHead":"80fbc3755819ec7bca71a67a0b8a15bc8cb38517","_id":"postcss-overflow-shorthand@3.0.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"integrity":"sha512-4fTapLT68wUoIr4m3Z0sKn1NbXX0lJYvj4aDA2++KpNx8wMSVf55UuLPz0nSjXa7dV1p0xQHlJ0iFJRNrSY2mw==","shasum":"f57631672333b302ffdcfc0735b8b7d0244c2a25","tarball":"http://registry-npm.ywwl.com/postcss-overflow-shorthand/download/postcss-overflow-shorthand-3.0.0.tgz","fileCount":7,"unpackedSize":18351,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb7MJmDSXHCMMzLnfhIm071xof0eDi3M5mmOmvJ5DNywIhAP6LWEi6KBsmcPKgcC8ZnCweXVd2zhTuEHO3in9dX4y/"}],"size":5746,"noattachment":false,"key":"/postcss-overflow-shorthand/-/postcss-overflow-shorthand-3.0.0.tgz"},"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-overflow-shorthand_3.0.0_1631887437657_0.3241568291355321"},"_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":1631887437787,"_cnpm_publish_time":1631887437787,"dist-tags":{"latest":"7.0.1"}}