{"name":"postcss-image-set-polyfill","version":"0.2.1","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":"^5.0.14"},"devDependencies":{"gulp-eslint":"0.8.0","gulp-mocha":"2.0.1","chai":"2.2.0","gulp":"3.8.11"},"scripts":{"test":"gulp"},"gitHead":"1d90f52524d9be764cb11b98befa76a27151cc77","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@0.2.1","_shasum":"72b253c8f380582873d4fc6af47ed0493c86f0d0","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"superol3g","email":"oleglykasov@gmail.com"},"dist":{"shasum":"72b253c8f380582873d4fc6af47ed0493c86f0d0","tarball":"http://registry-npm.ywwl.com/postcss-image-set-polyfill/download/postcss-image-set-polyfill-0.2.1.tgz","integrity":"sha512-2+PSnPebhR/zpmOhbgbcy/V3EZf8IjIbuoHzHt0CaoaaBciI3Y8MHW8qJvvD/Zod//0wedSi3UCIxNnRBP7Amg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbzRfq+qJCEAYvawFwfU1icUX3RjjZBBq4t24uD6T5yQIhAIqTzBiPd/v/xuaQiHKpyVU8CZTBa0Gsxht9xJ8+Q/n0"}],"size":4092,"noattachment":false,"key":"/postcss-image-set-polyfill/-/postcss-image-set-polyfill-0.2.1.tgz"},"maintainers":[{"name":"superol3g","email":"oleglykasov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/postcss-image-set-polyfill-0.2.1.tgz_1486670334882_0.7688455062452704"},"directories":{},"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":1486670335548,"_cnpm_publish_time":1486670335548,"dist-tags":{"latest":"1.0.0"}}