{"name":"postcss-image-set-polyfill","version":"1.0.0","description":"PostCSS plugin for fallback image-set","keywords":["postcss","css","postcss-plugin","image-set","background","image"],"author":{"name":"SuperOl3g","email":"oleglykasov@gmail.com"},"license":"MIT","engines":{"node":">=4.0.0"},"repository":{"type":"git","url":"git+https://github.com/SuperOl3g/postcss-image-set-polyfill.git"},"dependencies":{"postcss":"^7.0.14","postcss-media-query-parser":"^0.2.3","postcss-value-parser":"^3.3.1"},"devDependencies":{"benchmark":"2.1.4","chai":"2.2.0","eslint":"3.15.0","husky":"0.13.4","mocha":"3.2.0"},"scripts":{"test":"mocha","lint":"eslint *.js **/*.js || true","benchmark":"node benchmark.js","precommit":"npm run lint","prepush":"npm test"},"gitHead":"1d04a89d28658183763717a9507192dc65145b4c","bugs":{"url":"https://github.com/SuperOl3g/postcss-image-set-polyfill/issues"},"homepage":"https://github.com/SuperOl3g/postcss-image-set-polyfill#readme","_id":"postcss-image-set-polyfill@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"superol3g","email":"oleglykasov@gmail.com"},"dist":{"integrity":"sha512-8ID5DlnshQCoW+bZKrkVprGOxHPlDDORXlpOYGnvK3Zzedc7O7VpvCKThI9lazh8sufvYGBGmQbmw/DZNNhjBA==","shasum":"3b0b4ae6d8676827be75d3865f5f808e73f8559e","tarball":"http://registry-npm.ywwl.com/postcss-image-set-polyfill/download/postcss-image-set-polyfill-1.0.0.tgz","fileCount":11,"unpackedSize":25166,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgRSECRA9TVsSAnZWagAA/JEP/jOrqdlS9d819NyuI28X\nuzxbB01DxXj2cubbOI1XhTGXbW1afCKiuzz00zRz2Cbl0PQpqUnof6w3YF6v\nl7XHKuN2XchYTnPBRHtRPJKkfXemL13KmGTXK/KXjTJo7eI6C9sD1rZNTOjD\nUfOyHVcjIGb6zChfHSrRvCRiJbC71WLro89NjVJScBOKoMEMzTBCmtJV9+ID\n/unxE7ls6jfzsVnSzWO76j4IV+cbRIx0P+nIaFv+CMezecEVc8tTUH11PA6W\nX8QNU5NGBGJ4YKStvFZG5sy5dzjJrElvCDC4CVr43eVcWpPCEsx41sYPM+Un\nmLwVTFcry628ZoTv3oj9G0WqKZtlgPYcTluNOKPcBeurSKogy+aGeLmV9JTb\nY3eSjJfpEI9ago+qfmhr8UIHV/dXLtQhZniIW6bfMeT1tc+L4Si+Rgzn+D/a\n2UNG2jaLsqToYJjyMKcdG9X8+E7ZzJcfjjfoqTnRS92EPlobek0BsIUKIRza\nRcC8wD24O23znTjbakbdCmPKnBzx8EXwy3Owh6MB/7spJrqwZYmJXDooZepI\n9tyWJal6pawtPmNKnIeFRL41eFBluGeGe/+Jsm7A/cQ+7myU+Alwk2arPI0V\nYfNRNtNcZL1M0QpFevxmrs3ke24u8oWTyBM8J1TJJVGtmF+AqTEfiTIsEdQr\nfYf6\r\n=OwX9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCe8PH/RS+WgoRRWy1BfuhhQKbem4BKjxhw1VIzqD+OzgIhAO1uYuE6MroP4umd34tV3vA2R9avidfgJyBx+W9Iyyc5"}],"size":6923,"noattachment":false,"key":"/postcss-image-set-polyfill/-/postcss-image-set-polyfill-1.0.0.tgz"},"maintainers":[{"name":"superol3g","email":"oleglykasov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-image-set-polyfill_1.0.0_1551963268265_0.35149088094228587"},"_hasShrinkwrap":false,"readme":"\n# postcss-image-set-polyfill [![Build Status](https://travis-ci.org/SuperOl3g/postcss-image-set-polyfill.svg)](https://travis-ci.org/SuperOl3g/postcss-image-set-polyfill) [![npm version](https://badge.fury.io/js/postcss-image-set-polyfill.svg)](https://badge.fury.io/js/postcss-image-set-polyfill)\n\n[PostCSS] plugin for [polyfilling](http://caniuse.com/#feat=css-image-set) [`image-set`](https://drafts.csswg.org/css-images-4/#image-set-notation) CSS function.\n\n[PostCSS]: https://github.com/postcss/postcss\n\n```css\n/* Input example */\n.foo {\n    background-image: image-set(url(img/test.png) 1x,\n                                url(img/test-2x.png) 2x,\n                                url(my-img-print.png) 600dpi);\n}\n```\n\n```css\n/* Output example */\n.foo {\n    background-image: url(img/test.png);\n}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n    .foo {\n        background-image: url(img/test-2x.png);\n    }\n}\n\n\n@media (-webkit-min-device-pixel-ratio: 6.25), (min-resolution: 600dpi) {\n    .foo {\n        background-image: url(my-img-print.png);\n    }\n}\n```\n<a href=\"https://astexplorer.net/#/gist/86d1248cc4628f850454d3191c95efec/3bbf606fe0ef2662917a845aa16a715d06435650\" target=\"_blank\">→Try it online←</a>\n\n\n❗️ Resolution media query is supported only by IE9+.\n\n## Installation\n\n`npm i postcss-image-set-polyfill -D`\n\n> ️❕ NodeJS version must be 6+.\n\n## Usage\n\n```js\nvar postcssImageSet = require('postcss-image-set-polyfill');\n\npostcss([postcssImageSet]).process(YOUR_CSS, /* options */);\n```\n\nSee [PostCSS] docs for examples for your environment.\n\n\n### ⚠️️ Warning\n\nIf you use [autoprefixer](https://github.com/postcss/autoprefixer), place this plugin before it to prevent styles duplication.\n","publish_time":1551963268419,"_cnpm_publish_time":1551963268419,"dist-tags":{"latest":"1.0.0"}}