{"name":"postcss-overflow-shorthand","version":"2.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":">=6.0.0"},"dependencies":{"postcss":"^7.0.2"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^9.0.0","eslint":"^5.6.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.0","rollup-plugin-babel":"^4.0.1"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","overflow","properties","shorthands","values"],"gitHead":"dc9858d78eef25cda5022d34d5558137486751cd","_id":"postcss-overflow-shorthand@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-aK0fHc9CBNx8jbzMYhshZcEv8LtYnBIRYQD5i7w/K/wS9c2+0NSR6B3OVMu5y0hBHYLcMGjfU+dmWYNKH0I85g==","shasum":"31ecf350e9c6f6ddc250a78f0c3e111f32dd4c30","tarball":"http://registry-npm.ywwl.com/postcss-overflow-shorthand/download/postcss-overflow-shorthand-2.0.0.tgz","fileCount":8,"unpackedSize":19040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboH6WCRA9TVsSAnZWagAAiR0P/jhYIjecCDalUVvCGE+p\neVYOboC0N3SNAA/9ixUeyL6VYJHacHKs9JHtJ92vt1rplwk0F2g/70wk6API\nAP9uecKDEjPdErC8N3aZLai3IeR8hP/z+96Kg5LKVy5uIDBRgvaic71lJkMU\ng1YHsN9WMO/k8//o8pNs2s8V01Eetp9heZWFZb2sSnHT/6VEGNaR1GtY9LXr\ngo2uGoMA1FL85vMA0xPOChBIgrOrk3r8upZxUhOMru6s7JI9RHUMUN+CbqDW\n+qDN2mDx3G6OKjHzDY/Zm4mPuouhlCl2gucYp32rltga1PIQgcjsTRYY6h53\ndyRm8otq1kMudEOiS5phwhFeHH4UQkrmqV62VAXPlrGvNEcKLDZksHn8BI5J\nK2Bkfdm5/Pl4OeCVValXM/kckkPAFCPd6DjrbMxF/ROos3v8Z9xmZlD05FZ1\nt4iCA0YE53pUVVpAldlQEoROpLNMfYhMHQdy0Km/bBFh1otEYtzw32E8Pl3N\n/5OT0U/T+f4eNuTWUmGiAXBP3PH/p/lwEtd7iIlV88zmLJZjp5dk2F8Pzt6V\n75Ikao4I3JC8WmqH7USXdvoBIELA1hd8OwoRU1Kg8XeG7v/iscgHMSnMNi07\nWRzZsKlTBU8/6zXVFDfZTBtwgbDO/C4+IPd033jCiWxUpZkfdaxxGebnD9ld\nh7Nj\r\n=C8c7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZhqxDvSM9a0Qmp4YUH/wc1LJu3IRTbrixrvUcnH08HQIgdEn6jQObujvPv263RDfnTc82H6zhRH0NspM9sLJrGuc="}],"size":5973,"noattachment":false,"key":"/postcss-overflow-shorthand/-/postcss-overflow-shorthand-2.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-overflow-shorthand_2.0.0_1537244821946_0.2117249055846162"},"_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":1537244822088,"_cnpm_publish_time":1537244822088,"dist-tags":{"latest":"7.0.1"}}