{"name":"postcss-short-spacing","version":"4.0.0","description":"Use this 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-spacing.git"},"homepage":"https://github.com/jonathantneal/postcss-short-spacing#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-spacing/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","margin","padding","shorthand","short"],"gitHead":"e6e3181d6d69d95c8733d629e36ef24af46ce7e8","_id":"postcss-short-spacing@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-ThWP8vse9jtT26+l8fqfCriPVR7QGYUX7gEXYNPJ2+smD4XHpMJAmbhqa8aKuYsCMhvzeC9ZxCsR/B+nXA7iEw==","shasum":"0de9bf226915c66aca6f4262fb691de817e817f1","tarball":"http://registry-npm.ywwl.com/postcss-short-spacing/download/postcss-short-spacing-4.0.0.tgz","fileCount":8,"unpackedSize":35570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvSh2CRA9TVsSAnZWagAAHIQP/0BgvmwnvM6Ov6EZ+gDr\nrDolSp9BEWSmgkixpbs2/k1RHbLzO3ESFbM5kHPczjdbne7V1aal7mDEI0bC\noUEBwU0ebCdTd8Jd9qTTuf7henTH4HL9zslKO1N+lYWnzZCxt8jeGDOd94xR\ndAAV697Vu3p70iW1qFJ4SJ1rZOO4P4y6DUuDnMyNfOejmcKaS4HD4SHmgN9s\n+uDyJ2H/PIlXdX5CxZ4wwF9vgJm4aaWVtLkdsAe/tsy9h5966rqO/hyyj6Hj\nvgCUJcFedImoY99AFHI/rcPxbDAlbd4t+vimN2ezanClLfnJq09XMp+0U002\n33RyWEhvWChdzwgCdHF38QBmUPG72XV+vb63wEtfRBGzfxbkd6tbhQFYYf7x\nPHDOnzEYHsrQNhdZGV0AJc/4z6L4M477Yq5swUhslP3wOY29SeaP8Aze0fLc\nRrDA8I6sl3Xn37RBr3EUVsJHXkWyrKcBCBlRJqDcFMnNoglsdFWer9XI09vg\nN1soUC1c1w/ZnQ/1Z9NeZ09lapH8DwDi5IMA9bCrZO7Qbn3U4YjwBF0x8QDm\n544nPIljjLOCxn8S4iTEqcZ8oEi3JoruXkxK9gn0o2jQVnpEJk6qso4xgCyG\nlrnYp7N3MCEbdGywJpATqdW/NG1R1KKCxqt2nzgXpGYTjlAFr7eU1jz3yE/c\nS59x\r\n=m05u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3Onbl+SiSw49ZOwxzlTupq+gTpRUFRto5yIoMYFC9EAiBt1q8MBN8hYv5kBZ3OEh8ZxZizYBavS3bYPGPRmxGvpw=="}],"size":7878,"noattachment":false,"key":"/postcss-short-spacing/-/postcss-short-spacing-4.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-short-spacing_4.0.0_1539123317742_0.5694626052132372"},"_hasShrinkwrap":false,"readme":"# PostCSS Short Spacing [<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 Spacing] lets you omit sides within `margin` and `padding`\nproperties in CSS.\n\n```pcss\nsection {\n  margin: 1em *;\n}\n\n/* becomes */\n\nsection {\n  margin-top: 1em;\n  margin-bottom: 1em;\n}\n```\n\nSupported properties include `margin`, `margin-block`, `margin-inline`,\n`margin-start`, `margin-end`, `padding`, `padding-block`, `padding-inline`,\n`padding-start`, and `padding-end`.\n\n## Usage\n\nAdd [PostCSS Short Spacing] to your project:\n\n```bash\nnpm install postcss-short-spacing --save-dev\n```\n\nUse [PostCSS Short Spacing] to process your CSS:\n\n```js\nconst postcssShortSpacing = require('postcss-short-spacing');\n\npostcssShortSpacing.process(YOUR_CSS /*, processOptions, pluginOptions */);\n```\n\nOr use it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssShortSpacing = require('postcss-short-spacing');\n\npostcss([\n  postcssShortSpacing(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Short Spacing] 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 defines a prefix required by properties being transformed.\nWrapping dashes are automatically applied, so that `x` would transform\n`-x-margin`.\n\n```js\npostcssShortSpacing({ prefix: 'x' });\n```\n\n```pcss\nbody {\n  -x-margin: 1em *;\n}\n\n/* becomes */\n\nsection {\n  margin-top: 1em;\n  margin-bottom: 1em;\n}\n```\n\n#### skip\n\nThe `skip` option defines the skip token used to ignore portions of the\nshorthand.\n\n```js\npostcssShortSpacing({ skip: '-' });\n```\n\n```pcss\nbody {\n  -x-margin: 1em -;\n}\n\n/* becomes */\n\nsection {\n  margin-top: 1em;\n  margin-bottom: 1em;\n}\n```\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-short-spacing.svg\n[cli-url]: https://travis-ci.org/jonathantneal/postcss-short-spacing\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-spacing.svg\n[npm-url]: https://www.npmjs.com/package/postcss-short-spacing\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Short Spacing]: https://github.com/jonathantneal/postcss-short-spacing\n","publish_time":1539123317930,"_cnpm_publish_time":1539123317930,"dist-tags":{"latest":"4.0.0"}}