{"bugs":{"url":"https://github.com/robinweser/fela/issues"},"dist":{"shasum":"61784cfb0016a2aa6d8c2820e31c691d1085f4a9","tarball":"https://registry.npmjs.org/fela-plugin-fallback-value/-/fela-plugin-fallback-value-11.5.0-rc.0.tgz","fileCount":5,"integrity":"sha512-Ln1T4Rr2qIJlvNWGkxstDbvqg82ikylaUvcuo0pulAoCaaRr89Bh9SrQT3yBiMvU300IDL6oLm8nfH2VhuBAGQ==","signatures":[{"sig":"MEUCIQCh1oFpo0e5adAX7Q6rJQlNsf6u0C5xjjvlkwUSZJFL/AIgUui4XmeRBPKTQOxe1FMQHn+e3n+fFERvaYD8cy/jx+4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz1SWCRA9TVsSAnZWagAANe8P/A9NOJ+yzrAqu+bdvUJZ\n0rbno7lnQX27/fftaNdlUkfM2/nh11CgSszoc6lvYziIT3Oec1ftrRJ080jm\nLKrZMTdgBblr0SysP5X0/oJg/viJ8WSV/iyQQDQdJKEKrqFq0HGtt7AWZ+PN\nUuhu1cOCEpWjC+cJi1HwMsti/hFj1KEt23qfZoMr0iuxfL0YqlzJGxwKZcyp\nX6lBqqHkwx8AAn3AEUA9YYuCS6F3mGMyJyllEHWlWThUzoBraGLI0PRoFxTV\nqiqfv5ZAejjdssFMV3wOjZg15YfBtVMdJkel5bOOSkhlL6S+goxqFdnlk1/j\n4w6TVZqN6r/Jely47DBt2foOxV+cgXp9yfTDj5P4RveFJ3wxWyimZIsnDjsB\nT8+Kh/EMwdfFhnPtANhPiL/A1iCOrNA7ntdcuFUzAekRXZdvak1Z7+tBMaCa\npTM83OCgmQXlxukB4bPaIL6PmyN7j7wx4eQ+UYp1uzINE1NswdUkX+tsJ4cd\n89QLm99deetwNwGk9wtWlwIMM0V7FDHP63OQQIPGszCrSQgPB9yOHmMQM1Mn\nsRzP3Ec96+6f9rjTjVVosU67QQQ831oLeDfaodOqZdYANaSz1aUAKCiRdelE\nDsemVbscjHgudNSpy7T9NojTHUb69uI7TvkRo65uQJcAKnRoMcdFZQoRmCwO\nQQL5\r\n=bGOh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"fela-plugin-fallback-value","author":{"name":"Robin Weser"},"module":"es/index.js","readme":"# fela-plugin-fallback-value\n\n<img alt=\"npm version\" src=\"https://badge.fury.io/js/fela-plugin-fallback-value.svg\"> <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/dm/fela-plugin-fallback-value.svg\"> <a href=\"https://bundlephobia.com/result?p=fela-plugin-fallback-value@latest\"><img alt=\"Bundlephobia\" src=\"https://img.shields.io/bundlephobia/minzip/fela-plugin-fallback-value.svg\"></a>\n\nSometimes you want to provide alternative values also know as *fallback values*. <br>\nFor example in Internet Explorer 8 there is no `rgba` compatibility for colors which means just passing *e.g. `color: rgba(0, 0, 0, 0.5)`* would not be applied correctly.\nBy passing an array of values you can provide fallback values.\n\n## Installation\n```sh\nyarn add fela-plugin-fallback-value\n```\nYou may alternatively use `npm i --save fela-plugin-fallback-value`.\n\n\n## Usage\nMake sure to read the documentation on [how to use plugins](http://fela.js.org/docs/advanced/Plugins.html).\n\n```javascript\nimport { createRenderer } from 'fela'\nimport fallbackValue from 'fela-plugin-fallback-value'\n\nconst renderer = createRenderer({\n  plugins: [ fallbackValue() ]\n})\n```\n\n## Example\n\n#### Input\n```javascript\n{\n  color: [ '#ccc', 'rgba(0, 0, 0, 0.5)' ]\n}\n```\n#### Output\n```javascript\n{\n  color: '#ccc;rgba(0, 0, 0, 0.5);'\n}\n```\nwhich is similar to the following CSS code:\n```CSS\n{\n\tcolor: #ccc;\n\tcolor: rgba(0, 0, 0, 0.5);\n}\n```\n\n## License\nFela is licensed under the [MIT License](http://opensource.org/licenses/MIT).<br>\nDocumentation is licensed under [Creative Commons License](http://creativecommons.org/licenses/by/4.0/).<br>\nCreated with ♥ by [@robinweser](http://weser.io) and all the great contributors.\n","gitHead":"6d457d39e69e1471bddaea8591c50745f95070d9","license":"MIT","_npmUser":{"name":"rofrischmann","email":"robin@weser.io"},"homepage":"https://github.com/robinweser/fela#readme","keywords":["fela","fela-plugin","fallback value","cssinjs"],"repository":{"url":"git+https://github.com/robinweser/fela.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","description":"Fela plugin to resolve fallback values","directories":{},"jsnext:main":"es/index.js","maintainers":[{"name":"rofrischmann","email":"robin@weser.io"},{"name":"txhawks","email":"tofu.hawks@gmail.com"}],"sideEffects":false,"_nodeVersion":"12.18.3","dependencies":{"isobject":"^3.0.1","css-in-js-utils":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/fela-plugin-fallback-value_11.5.0-rc.0_1607423125814_0.4103021041847048","host":"s3://npm-registry-packages"},"_id":"fela-plugin-fallback-value@11.5.0-rc.0","version":"11.5.0-rc.0"}