{"_id":"postcss-short-font-size","_rev":"905230","name":"postcss-short-font-size","description":"Define line-height within the font-size property in CSS","dist-tags":{"latest":"5.0.0"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"time":{"modified":"2026-11-06T07:24:54.000Z","created":"2015-09-21T13:09:08.944Z","5.0.0":"2018-10-09T18:20:27.209Z","4.0.0":"2017-05-25T06:33:58.930Z","3.0.1":"2016-12-14T18:16:18.551Z","3.0.0":"2016-12-06T19:58:42.295Z","2.0.0":"2016-06-09T22:01:30.329Z","1.0.1":"2015-09-29T16:42:57.389Z","1.0.0":"2015-09-21T13:09:08.944Z"},"users":{},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-font-size.git"},"versions":{"5.0.0":{"name":"postcss-short-font-size","version":"5.0.0","description":"Define line-height within the font-size property 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-font-size.git"},"homepage":"https://github.com/jonathantneal/postcss-short-font-size#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-font-size/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"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","color","background","background-color","shorthand","short"],"gitHead":"b8dca70d5790ee414c32b42b1fba5632578451e5","_id":"postcss-short-font-size@5.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-CaEzUc/YSOq2PDblqZuSxdecmCqN5HbxLLLu5h53GoKJpXPNxrk6R9cfBvB/cO1LQyXNFtzZuQwL/JglkuBy4A==","shasum":"064de7de2a6206ac0955fd809c370e1b5c2db12e","tarball":"http://registry-npm.ywwl.com/postcss-short-font-size/download/postcss-short-font-size-5.0.0.tgz","fileCount":8,"unpackedSize":21809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvPFrCRA9TVsSAnZWagAA62IP/RBKBAje77YalUugsjf0\nZLA7kQWV/dXmetzfHDEMbhwkzKOLso97VLmdAlw7iPC87BpB6m0e+urY0PjQ\n8c1WRZ64sGpCE1s2KemASj4L01cKMNpYAGH5J9tFVOvMRocaEBUC+/UGH0S4\nTwsq2JKoAn2BPDhLbpyP1B5Tduzg1dTIyZKTssjR9cGYLf92jDRjeSHhxzpx\nBY+MhMZMgBI85piup8Zg8B1/ioWK369sGu8lFAHmh8O99srkdo8//whl7lKp\nvqT0DtSDkRq9n19E7KgymUl9D7Z9fAFpUhtfx74SIP79KCNJuFzun1ADPJ4C\nWB+9XhEred4ZqB6OVYHdvhApLdM4PcMKcqFJW81ZdeTrFrJ6NC63NFmGMy/8\nslpLeAs+w8j8JPRMAxVXKyoxJllqlKaqpYUAc8AwNJDpgUlMk5yzb/qUMNnN\ns5PRg/MiIZ/UXlrtjkxHQdKnsO8uwh6+7AGipZeKfoefs9P3V2ttv1gqVMvb\nUwYRDwbcsJ8FPKkO+p+2WYP/rLccKfF3WGMT2Y84HyJGAnKXnOa3Q7R+P0fy\nQedM2JHgQJ5DQDu4mgzrkaHWHfbDodKO/K0kUus/EKnuSliS//ASZM4JCoQM\nBgSZSldU+SRfEhk6fNGFW8E9pXItV+9zW7oTJWGgZCBfjLMtbGSzCxnBwbTL\nuQRY\r\n=R0In\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAqKWKPGIGTCeJ9E0QH1Ypq14w91LEi2lghQjenUGofWAiEAuqkr4WyIOUH9xU9ODaBr0Lt6OdY2HFyRLLSL5LCntwg="}],"size":6688,"noattachment":false,"key":"/postcss-short-font-size/-/postcss-short-font-size-5.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-short-font-size_5.0.0_1539109227034_0.22711728900794226"},"_hasShrinkwrap":false,"publish_time":1539109227209,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1539109227209},"4.0.0":{"name":"postcss-short-font-size","version":"4.0.0","description":"Define line-height within the font-size property 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-font-size.git"},"homepage":"https://github.com/jonathantneal/postcss-short-font-size#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-font-size/issues"},"main":"index.js","files":["index.js"],"scripts":{"clean":"git clean -X -d -f","prepublish":"npm test","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint *.js --cache --ignore-pattern .gitignore","test:tape":"postcss-tape"},"engines":{"node":">=4"},"dependencies":{"postcss":"^6.0.1"},"devDependencies":{"eslint":"^3.19.0","eslint-config-dev":"2.0.0","postcss-tape":"2.0.1","pre-commit":"^1.2.2"},"eslintConfig":{"extends":"dev"},"keywords":["postcss","css","postcss-plugin","shorthands","fonts","sizes","line-heights","declarations","property","properties","values"],"gitHead":"02dce20d27372863e52f887106e4626d4f08798c","_id":"postcss-short-font-size@4.0.0","_shasum":"750a4411a776e9deecdc90b9e8d82226ef79cee9","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"750a4411a776e9deecdc90b9e8d82226ef79cee9","tarball":"http://registry-npm.ywwl.com/postcss-short-font-size/download/postcss-short-font-size-4.0.0.tgz","integrity":"sha512-YRcXiVrWrAtw/avv40XKUmb8PQCqECqmvwukvL8VC3da/YcS7jhxwXILnssLgyLxVdDuFrWiuw0+2TLmGKiz6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEFP/8IrMKSAZ0jH4g7RG5XJ6SDUzktY3uzkaeGDe9ixAiEA5MgxNGBwDuBSkIQLr2adKDpXrlmTM1JU543qyEES38w="}],"size":5245,"noattachment":false,"key":"/postcss-short-font-size/-/postcss-short-font-size-4.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-short-font-size-4.0.0.tgz_1495694038069_0.9979823243338615"},"directories":{},"publish_time":1495694038930,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1495694038930},"3.0.1":{"name":"postcss-short-font-size","version":"3.0.1","description":"Define line-height within the font-size property 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-font-size.git"},"homepage":"https://github.com/jonathantneal/postcss-short-font-size#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-font-size/issues"},"main":"index.js","files":["index.js"],"scripts":{"lint":"echint && eslint index.js && jscs index.js","prepublish":"npm test","tape":"postcss-tape","test":"npm run lint && postcss-tape"},"engines":{"node":">=6.9.1"},"dependencies":{"postcss":"^5.2.6"},"devDependencies":{"echint":"^2.1.0","echint-config-dev":"1.0.0","eslint":"^3.12.1","eslint-config-dev":"1.0.0","jscs":"^3.0.7","jscs-config-dev":"1.0.1","postcss-tape":"1.3.0"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev","parserOptions":{"sourceType":"module"}},"jscsConfig":{"preset":"dev"},"keywords":["postcss","css","postcss-plugin","shorthands","fonts","sizes","line-heights","declarations","property","properties","values"],"gitHead":"83974a2bbd2b0dd0de02f43dd4661eaae1ff6668","_id":"postcss-short-font-size@3.0.1","_shasum":"ce8de2b94e349c9e9d824a1dfdec3bd6ae14ee4f","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"ce8de2b94e349c9e9d824a1dfdec3bd6ae14ee4f","tarball":"http://registry-npm.ywwl.com/postcss-short-font-size/download/postcss-short-font-size-3.0.1.tgz","integrity":"sha512-9nWCz0cCBNy0DNi3lX3cXYgccU2/y8fLz/IG/+RN8PjLxmCLwpKCjejXreppxKR6B2o0xv1hZDB4smxFlH+4Zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcx8FJgNACXOlo09zLm/LORijRUb/ha/HW3Z7HLIdLFQIhAKFKj8ctsJJNxhLXsuMHF8nVdCTn/4BYyYwa04zAEBRW"}],"size":6235,"noattachment":false,"key":"/postcss-short-font-size/-/postcss-short-font-size-3.0.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/postcss-short-font-size-3.0.1.tgz_1481739376704_0.40863303816877306"},"directories":{},"publish_time":1481739378551,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1481739378551},"3.0.0":{"name":"postcss-short-font-size","version":"3.0.0","description":"Define line-height within the font-size property 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-font-size.git"},"homepage":"https://github.com/jonathantneal/postcss-short-font-size#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-font-size/issues"},"main":"index.js","files":["index.js"],"scripts":{"lint":"echint && eslint index.js && jscs index.js","prepublish":"npm test","tape":"postcss-tape","test":"npm run lint && postcss-tape"},"engines":{"node":">=6.9.1"},"dependencies":{"postcss":"^5.2.6"},"devDependencies":{"echint":"^2.1.0","echint-config-dev":"1.0.0","eslint":"^3.11.1","eslint-config-dev":"1.0.0","jscs":"^3.0.7","jscs-config-dev":"1.0.1","postcss-tape":"1.0.1"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev","parserOptions":{"sourceType":"module"}},"jscsConfig":{"preset":"dev"},"keywords":["postcss","css","postcss-plugin","shorthands","fonts","sizes","line-heights","declarations","property","properties","values"],"gitHead":"adcd3b3e04d10990d10c8b1731a1c4f2bbdf51dd","_id":"postcss-short-font-size@3.0.0","_shasum":"0b33940daad89dfd4535433e6e4e42af9ec694ba","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"0b33940daad89dfd4535433e6e4e42af9ec694ba","tarball":"http://registry-npm.ywwl.com/postcss-short-font-size/download/postcss-short-font-size-3.0.0.tgz","integrity":"sha512-WdmwuTtWaiNB4sbi6rmWGdAXfhVMGd9LJ9vSIMYH70q1Xqptk1gd9c0sebpvzaVPgQq++GMTF20ecWkS66RdAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHxERe4l6+gn6eOJVVIo41dUZ5FzJ+TveiufOj8/0Tw3AiAvnN3sRb/3nlipZ9b0NFBlISEcsQNwaNfyL4B/0i4ouw=="}],"size":6142,"noattachment":false,"key":"/postcss-short-font-size/-/postcss-short-font-size-3.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-short-font-size-3.0.0.tgz_1481054322075_0.8217593126464635"},"directories":{},"publish_time":1481054322295,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1481054322295},"2.0.0":{"name":"postcss-short-font-size","version":"2.0.0","description":"Extends font-size to allow a line-height value","keywords":["postcss","css","postcss-plugin","shorthands","fonts","sizes","line-heights","declarations","property","properties","values"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com/"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-font-size.git"},"homepage":"https://github.com/jonathantneal/postcss-short-font-size#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-font-size/issues"},"dependencies":{"postcss":"^5.0.4"},"devDependencies":{"ava":"^0.15.2","eslint":"^2.11.1","eslint-config-10up":"github:jonathantneal/eslint-config-10up","fs-promise":"^0.5.0","jscs":"^3.0.4","jscs-config-10up":"github:jonathantneal/jscs-config-10up"},"scripts":{"lint":"eslint . && jscs .","tape":"ava","test":"npm run lint && npm run tape"},"engines":{"node":">=0.12.0"},"jscsConfig":{"preset":"10up"},"eslintConfig":{"extends":"10up"},"gitHead":"b33d4d9f7d8f0b93b6771d8234725df0057c5668","_id":"postcss-short-font-size@2.0.0","_shasum":"0695df05920f020b3ce836e889c12a33cfc3e57c","_from":".","_npmVersion":"3.9.2","_nodeVersion":"5.4.1","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"0695df05920f020b3ce836e889c12a33cfc3e57c","tarball":"http://registry-npm.ywwl.com/postcss-short-font-size/download/postcss-short-font-size-2.0.0.tgz","integrity":"sha512-mXuzD489JoctxsjOF7QGd9tmSp0+HkL5lCviY7klNDkRXCyO6MpUq4u+q3lamlWT33iWBZOFIt54ZfjH4vAkrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNMW4rj10u2SHoL4oGrf6GJgcbpOZZ8urNVKeD8gOgIAIhAIkhysdCjOK4D0bLC381FHfrqNMmHj5bHJJCEznJ9s9G"}],"size":3455,"noattachment":false,"key":"/postcss-short-font-size/-/postcss-short-font-size-2.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/postcss-short-font-size-2.0.0.tgz_1465509688067_0.35901802219450474"},"directories":{},"publish_time":1465509690329,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1465509690329},"1.0.1":{"name":"postcss-short-font-size","version":"1.0.1","description":"Extends the font-size property so that line-height may be set by the second value","keywords":["postcss","css","postcss-plugin","fonts","sizes","line-heights","shorthands","properties"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-font-size.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-short-font-size/issues"},"homepage":"https://github.com/jonathantneal/postcss-short-font-size","dependencies":{"postcss":"^5.0.4"},"devDependencies":{"chai":"^3.2.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-mocha":"^2.1.3"},"scripts":{"test":"gulp"},"engines":{"iojs":">=2.0.0","node":">=0.12.0"},"gitHead":"500400e23fe167e9e1144444d6641fea0cd92a95","_id":"postcss-short-font-size@1.0.1","_shasum":"7adc71eccfd1d2a8171113a108b95214256c3dd6","_from":".","_npmVersion":"2.14.3","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"7adc71eccfd1d2a8171113a108b95214256c3dd6","tarball":"http://registry-npm.ywwl.com/postcss-short-font-size/download/postcss-short-font-size-1.0.1.tgz","integrity":"sha512-leeeTpm9zxRgVwvnAk/DBCVwv1Epov3DTRS43kiZsST0+2azmoT0V75O5Vqbvgvx7VFmGfaji47X8UoRqltSIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGxLzZja+iZJ4NghI+GBpmoKbYr/63Lk68gUCeKa+crgIhAJYVy9N4DxRxP89itEWCWb8jNOUJhi/0hFyxpOY0UvTT"}],"size":4317,"noattachment":false,"key":"/postcss-short-font-size/-/postcss-short-font-size-1.0.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1443544977389,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1443544977389},"1.0.0":{"name":"postcss-short-font-size","version":"1.0.0","description":"Define font-size and line-height from inside the font-size property in CSS.","keywords":["postcss","css","postcss-plugin","fonts","sizes","line-heights","shorthands","properties"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-font-size.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-short-font-size/issues"},"homepage":"https://github.com/jonathantneal/postcss-short-font-size","dependencies":{"postcss":"^5.0.4"},"devDependencies":{"chai":"^3.2.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-mocha":"^2.1.3"},"scripts":{"test":"gulp"},"engines":{"iojs":">=2.0.0","node":">=0.12.0"},"gitHead":"c8a496ebc560180edd1271f8aeff7963df1b15fd","_id":"postcss-short-font-size@1.0.0","_shasum":"c0fa4ad077804ff209f602615a6392526c3ae3d9","_from":".","_npmVersion":"2.14.3","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"c0fa4ad077804ff209f602615a6392526c3ae3d9","tarball":"http://registry-npm.ywwl.com/postcss-short-font-size/download/postcss-short-font-size-1.0.0.tgz","integrity":"sha512-IiXjxWCwLpeYkiRto7zFqNALJv7aeJjC3ozpDxamMQ4pbhXUTxHnU+w5u3u7XVKoka2P0wL+fVgxt8PaXmop8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCykIy6HqOL2uhZTS7HQmXEWGGNKNUexdoz8BNPIqKZOgIgMsj/t+3jljdxKOQkBZA6ZhNBwVOWKSUgG3I10Pebk4Q="}],"size":4243,"noattachment":false,"key":"/postcss-short-font-size/-/postcss-short-font-size-1.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1442840948944,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1442840948944}},"readme":"# PostCSS Short Font Size [<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 Font Size] lets you define `line-height` within the `font-size`\nproperty in CSS.\n\n```pcss\nbody {\n  font-size: 125%/1.5;\n}\n\n/* becomes */\n\nbody {\n  line-height: 1.5;\n  font-size: 125%;\n}\n```\n\n## Usage\n\nAdd [PostCSS Short Font Size] to your project:\n\n```bash\nnpm install postcss-short-font-size --save-dev\n```\n\nUse [PostCSS Short Font Size] to process your CSS:\n\n```js\nconst postcssShortFontSize = require('postcss-short-font-size');\n\npostcssShortFontSize.process(YOUR_CSS /*, processOptions, pluginOptions */);\n```\n\nOr use it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssShortFontSize = require('postcss-short-font-size');\n\npostcss([\n  postcssShortFontSize(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Short Font Size] runs in all Node environments, with special\ninstructions 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-font-size`.\n\n```js\npostcssShortFontSize({ prefix: 'x' });\n```\n\n```pcss\nbody {\n  -x-font-size: 125%/1.5;\n}\n\n/* becomes */\n\nbody {\n  line-height: 1.5;\n  font-size: 125%;\n}\n```\n\n#### skip\n\nThe `skip` option defines the skip token used to ignore portions of the\nshorthand.\n\n```js\npostcssShortFontSize({ skip: '-' });\n```\n\n```pcss\nbody {\n  color: -/125%;\n}\n\n/* becomes */\n\nbody {\n  font-size: 125%;\n}\n```\n\nNote: If the skip token is made to be a space then certain values with\n`!important` may not work properly, such as `font-size: 200% !important 1.5`.\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-short-font-size.svg\n[cli-url]: https://travis-ci.org/jonathantneal/postcss-short-font-size\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-font-size.svg\n[npm-url]: https://www.npmjs.com/package/postcss-short-font-size\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Short Font Size]: https://github.com/jonathantneal/postcss-short-font-size\n","_attachments":{},"homepage":"https://github.com/jonathantneal/postcss-short-font-size#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-font-size/issues"},"license":"CC0-1.0"}