{"_id":"postcss-short-overflow","_rev":"322545","name":"postcss-short-overflow","description":"Write overflow-x and overflow-y with the overflow shorthand in CSS","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"time":{"modified":"2021-06-04T01:29:01.000Z","created":"2018-10-09T17:19:12.696Z","1.0.0":"2018-10-09T17:19:12.696Z"},"users":{},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-overflow.git"},"versions":{"1.0.0":{"name":"postcss-short-overflow","version":"1.0.0","description":"Write overflow-x and overflow-y with 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-short-overflow.git"},"homepage":"https://github.com/jonathantneal/postcss-short-overflow#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-overflow/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:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.5"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.1.0","babel-eslint":"^10.0.1","eslint":"^5.6.1","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.5","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","overflow","shorthand","short"],"gitHead":"3605b5fce0575634ad8d579fbd2403766f13de48","_id":"postcss-short-overflow@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"02a8018ed5bf5d5c527077b58d04ef5745173b18","size":6024,"noattachment":false,"key":"/postcss-short-overflow/-/postcss-short-overflow-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-short-overflow/download/postcss-short-overflow-1.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-short-overflow_1.0.0_1539105552553_0.6159303880805491"},"_hasShrinkwrap":false,"publish_time":1539105552696,"_cnpm_publish_time":1539105552696}},"readme":"# PostCSS Short Overflow [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS\" width=\"90\" height=\"90\" align=\"right\">][postcss]\n\n[![NPM Version][npm-img]][npm-url]\n[![Build Status][cli-img]][cli-url]\n[![Support Chat][git-img]][git-url]\n\n[PostCSS Short Overflow] lets you write `overflow-x` and `overflow-y` with the\n`overflow` shorthand in CSS.\n\n```pcss\nhtml {\n  overflow: hidden auto;\n}\n\n[contenteditable] {\n  overflow: * auto;\n}\n\n/* becomes */\n\nhtml {\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n\n[contenteditable] {\n  overflow-y: auto;\n}\n```\n\n## Usage\n\nAdd [PostCSS Short Overflow] to your project:\n\n```bash\nnpm install postcss-short-overflow --save-dev\n```\n\nUse [PostCSS Short Overflow] to process your CSS:\n\n```js\nconst postcssShortOverflow = require('postcss-short-overflow');\n\npostcssShortOverflow.process(YOUR_CSS /*, processOptions, pluginOptions */);\n```\n\nOr use it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssShortOverflow = require('postcss-short-overflow');\n\npostcss([\n  postcssShortOverflow(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Short Overflow] runs in all Node environments, with special instructions for:\n\n| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |\n| --- | --- | --- | --- | --- | --- |\n\n## Options\n\n#### prefix\n\nThe `prefix` option determines the prefix applied to properties being processed\n(e.g. `x` for `-x-overflow`). Wrapping dashes (`-`) are automatically\napplied.\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-short-overflow.svg\n[cli-url]: https://travis-ci.org/jonathantneal/postcss-short-overflow\n[git-img]: https://img.shields.io/badge/support-chat-blue.svg\n[git-url]: https://gitter.im/postcss/postcss\n[npm-img]: https://img.shields.io/npm/v/postcss-short-overflow.svg\n[npm-url]: https://www.npmjs.com/package/postcss-short-overflow\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Short Overflow]: https://github.com/jonathantneal/postcss-short-overflow\n","_attachments":{},"homepage":"https://github.com/jonathantneal/postcss-short-overflow#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-overflow/issues"},"license":"CC0-1.0"}