{"_id":"grunt-encode-images","_rev":"28-22ab5a4d822c0591b6fa652fc318f800","name":"grunt-encode-images","description":"Grunt task for base64 encoding images as data URIs in css files.","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.0":{"name":"grunt-encode-images","description":"Grunt task for base64 encoding images as data URIs in css files.","version":"0.1.0","homepage":"","author":{"name":"John Reading","email":"john@resonancemultimedia.com","url":"http://resonancemultimedia.com"},"repository":{"type":"git","url":"git://github.com/jreading/grunt-encode-images.git"},"bugs":{"url":"https://github.com/jreading/grunt-encode-images/issues"},"main":"grunt.js","bin":{"grunt-encode-images":"bin/grunt-encode-images"},"engines":{"node":">= 0.8.0"},"scripts":{},"dependencies":{"request":"~2.11","buffers":"~0.1.1","mime":"1.2.x"},"devDependencies":{"grunt":"0.4.x"},"keywords":["grunt","base64","encodng","data URI","css","images","latency","mobile"],"_id":"grunt-encode-images@0.1.0","dist":{"shasum":"652dcd482776fa51c91af57b63720ac04156a28f","tarball":"https://registry.npmjs.org/grunt-encode-images/-/grunt-encode-images-0.1.0.tgz","integrity":"sha512-cAiipdY+czrDRDakdvlO8LEiEnKuvseAXuSFhLktjULV+BDLz+RyRqLH22E/WqTdTudPU8B3pbBJWVOGSh8TSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAv0oeN9GhisAS4MR7ZRC5deKLfw3UdjGNsPCTCi+eSeAiAEz8Qg7ksFJ+PmM04g9mzXwOXWpUoYVykb79bGe1Fgsw=="}]},"maintainers":[{"name":"jreading","email":"john@resonancemultimedia.com"}]},"0.1.1":{"name":"grunt-encode-images","description":"Grunt task for base64 encoding images as data URIs in css files.","version":"0.1.1","homepage":"","author":{"name":"John Reading","email":"john@resonancemultimedia.com","url":"http://resonancemultimedia.com"},"repository":{"type":"git","url":"git://github.com/jreading/grunt-encode-images.git"},"bugs":{"url":"https://github.com/jreading/grunt-encode-images/issues"},"main":"grunt.js","bin":{"grunt-encode-images":"bin/grunt-encode-images"},"engines":{"node":">= 0.8.0"},"scripts":{},"devDependencies":{"grunt":"0.4.x"},"keywords":["grunt","base64","encodng","data URI","css","images","latency","mobile"],"_id":"grunt-encode-images@0.1.1","dist":{"shasum":"a28fdd61e92ec1a825904752402d7e586ce739b7","tarball":"https://registry.npmjs.org/grunt-encode-images/-/grunt-encode-images-0.1.1.tgz","integrity":"sha512-GwvhOJKDbBahHCWvexDf25JhGgzBx2Xrv37QBM4ysEbkLSYFEVHK9KM00WA2i5NAeVS4jKEHTTcGsVRBY9069w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRtIm9toLx6nj/oOoqtwv27fa4ufZY3R5Gt6z17VeTbgIhAI7CJiuPu9vMa4Joz+EDNhQ2VNKvYeetD7H82Bf/ab1h"}]},"maintainers":[{"name":"jreading","email":"john@resonancemultimedia.com"}]},"0.1.2":{"name":"grunt-encode-images","description":"Grunt task for base64 encoding images as data URIs in css files.","version":"0.1.2","homepage":"","author":{"name":"John Reading","email":"john@resonancemultimedia.com","url":"http://resonancemultimedia.com"},"repository":{"type":"git","url":"git://github.com/jreading/grunt-encode-images.git"},"bugs":{"url":"https://github.com/jreading/grunt-encode-images/issues"},"main":"grunt.js","bin":{"grunt-encode-images":"bin/grunt-encode-images"},"engines":{"node":">= 0.8.0"},"scripts":{},"devDependencies":{"grunt":"0.4.x"},"keywords":["grunt","base64","encodng","data URI","css","images","latency","mobile"],"_id":"grunt-encode-images@0.1.2","dist":{"shasum":"cffb3635199155053f044211383288643ad4b7a8","tarball":"https://registry.npmjs.org/grunt-encode-images/-/grunt-encode-images-0.1.2.tgz","integrity":"sha512-HsaUnVKK4mVe13oQec0a3ULq9Yk3GYg8FMPN7zEEMeUuap2mwKwJnLi5wYeeAyHjxKoNpTx6pewSOsmBOnur+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnnRqq9emxc6amShxxbxwizC4+SvJVvCY9UP9nQ5U3AAiEAxtIrL2FSF9qyyufN316W66+edeKzS0oAwFLIuZftpsQ="}]},"maintainers":[{"name":"jreading","email":"john@resonancemultimedia.com"}]},"0.1.4":{"name":"grunt-encode-images","description":"Grunt task for base64 encoding images as data URIs in css files.","version":"0.1.4","homepage":"","author":{"name":"John Reading","email":"john@resonancemultimedia.com","url":"http://resonancemultimedia.com"},"repository":{"type":"git","url":"git://github.com/jreading/grunt-encode-images.git"},"bugs":{"url":"https://github.com/jreading/grunt-encode-images/issues"},"main":"grunt.js","bin":{"grunt-encode-images":"bin/grunt-encode-images"},"engines":{"node":">= 0.8.0"},"scripts":{},"devDependencies":{"grunt":"0.4.x"},"keywords":["grunt","base64","encodng","data URI","css","images","latency","mobile"],"_id":"grunt-encode-images@0.1.4","dist":{"shasum":"4612d0bbf2f48ddcdd67b3c0b46ea22462088dba","tarball":"https://registry.npmjs.org/grunt-encode-images/-/grunt-encode-images-0.1.4.tgz","integrity":"sha512-UExJoKG6k1jwk1PtjhwrxkGBNm3D5k88UC1rfmv8KFMF6gC4pQXT8CMWYMTSQs6+cYkf7pH4+oGtKjPHfVJr5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQwKwnI+PjhPlRI8+2x748uW8ElJCtntEBwqaFPMmyJQIhAKMXn1DjXWqhR/e28UG3214C/rIcUTln44Hi2SZdlXzT"}]},"_from":".","_resolved":"https://registry.npmjs.org/grunt-encode-images/-/grunt-encode-images-0.1.2.tgz","_npmVersion":"1.3.8","_npmUser":{"name":"jreading","email":"mail@johnreading.com"},"maintainers":[{"name":"jreading","email":"john@resonancemultimedia.com"}]},"0.1.5":{"name":"grunt-encode-images","description":"Grunt task for base64 encoding images as data URIs in css files.","version":"0.1.5","homepage":"https://github.com/jreading/grunt-encode-images","author":{"name":"John Reading","email":"john@resonancemultimedia.com","url":"http://resonancemultimedia.com"},"repository":{"type":"git","url":"git://github.com/jreading/grunt-encode-images.git"},"bugs":{"url":"https://github.com/jreading/grunt-encode-images/issues"},"main":"Gruntfile.js","bin":{"grunt-encode-images":"bin/grunt-encode-images"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt"},"devDependencies":{"grunt":"~0.4.4","grunt-contrib-jshint":"~0.10.0"},"peerDependencies":{"grunt":"~0.4.4"},"keywords":["grunt","base64","encodng","data URI","css","images","latency","mobile"],"_id":"grunt-encode-images@0.1.5","dist":{"shasum":"6742dc6020bc62f074a4385af64fb4800f633ddc","tarball":"https://registry.npmjs.org/grunt-encode-images/-/grunt-encode-images-0.1.5.tgz","integrity":"sha512-pgZsSzQUXJzno7tfKxrMav5Ukek+0BvZetQbHFDUTJ9jkT1OJXKXU7KUAdSiVnBa+nS33vEBmCg3ttl4tPiUog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtFtw1O7F4voweeJd+GtbzeLLJfkxGNvV3afwwM9/iEQIhALs2p5Xo8E9Cj3mjGFgFcT7YMRKtwpC8uhFbljB0Fbyp"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"jreading","email":"mail@johnreading.com"},"maintainers":[{"name":"jreading","email":"john@resonancemultimedia.com"}]},"0.1.6":{"name":"grunt-encode-images","description":"Grunt task for base64 encoding images as data URIs in css files.","version":"0.1.6","homepage":"https://github.com/jreading/grunt-encode-images","author":{"name":"John Reading","email":"john@resonancemultimedia.com","url":"http://resonancemultimedia.com"},"repository":{"type":"git","url":"git://github.com/jreading/grunt-encode-images.git"},"bugs":{"url":"https://github.com/jreading/grunt-encode-images/issues"},"main":"Gruntfile.js","bin":{"grunt-encode-images":"bin/grunt-encode-images"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.10.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["grunt","base64","encodng","data URI","css","images","latency","mobile"],"_id":"grunt-encode-images@0.1.6","dist":{"shasum":"fcee9c744600abd2736f5175eb59afd70a31c960","tarball":"https://registry.npmjs.org/grunt-encode-images/-/grunt-encode-images-0.1.6.tgz","integrity":"sha512-Bcglpud/HafTDc+gXQDTByoVNtGZzsFg3vmMLtjMOG+0m8/8pAzRAanTEy8kv/iHymIchuoFJ6GR+6k1jr8T4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK5NYIjk7U5v5oCU6G8ae62bZzf04jseCYsHxsj/UsJwIgBKcIgTMYIHdJJeQgqS3PgTO/NhY2+JsIq+9hq3W3YNE="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"jreading","email":"mail@johnreading.com"},"maintainers":[{"name":"jreading","email":"john@resonancemultimedia.com"}]},"0.1.7":{"name":"grunt-encode-images","description":"Grunt task for base64 encoding images as data URIs in css files.","version":"0.1.7","homepage":"https://github.com/jreading/grunt-encode-images","author":{"name":"John Reading","email":"john@resonancemultimedia.com","url":"http://resonancemultimedia.com"},"repository":{"type":"git","url":"git://github.com/jreading/grunt-encode-images.git"},"bugs":{"url":"https://github.com/jreading/grunt-encode-images/issues"},"main":"Gruntfile.js","bin":{"grunt-encode-images":"bin/grunt-encode-images"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.10.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["grunt","base64","encodng","data URI","css","images","latency","mobile"],"_id":"grunt-encode-images@0.1.7","dist":{"shasum":"4907090b826600c1e2528e3259685c5522c4d244","tarball":"https://registry.npmjs.org/grunt-encode-images/-/grunt-encode-images-0.1.7.tgz","integrity":"sha512-QD1/evYBtrS4KcNKb11605PyRoNKRxMLVq/KAi70ZOeR3YNzDsMNCiRYLcfAW+u/wLR918up+fRUpkIX8MebSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTeNMP+m9LdbggzutlRm4gVzLLwDqqLpZuNK/nSYIBtwIgfqlXhg+waVtiWGtB0i0eRfW3lrpZgh3+85a9Tm6Wp4Q="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"jreading","email":"mail@johnreading.com"},"maintainers":[{"name":"jreading","email":"john@resonancemultimedia.com"}]},"0.1.8":{"name":"grunt-encode-images","description":"Grunt task for base64 encoding images as data URIs in css files.","version":"0.1.8","homepage":"https://github.com/jreading/grunt-encode-images","author":{"name":"John Reading","email":"john@resonancemultimedia.com","url":"http://resonancemultimedia.com"},"repository":{"type":"git","url":"git://github.com/jreading/grunt-encode-images.git"},"bugs":{"url":"https://github.com/jreading/grunt-encode-images/issues"},"main":"Gruntfile.js","bin":{"grunt-encode-images":"bin/grunt-encode-images"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.10.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["grunt","base64","encodng","data URI","css","images","latency","mobile"],"_id":"grunt-encode-images@0.1.8","dist":{"shasum":"3a30c03bf0a20a6717506610e49a023030393b05","tarball":"https://registry.npmjs.org/grunt-encode-images/-/grunt-encode-images-0.1.8.tgz","integrity":"sha512-AxBYLH3ZIxejBZK2qrYISzrkDmqGNexkRmrKPfmAfNBMcuU2YVgdqs4NqLvUN0IShNt1pqUaRHXsrXmaknLvkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVnfyKPzjksJpErRVs+J/5heVDxkmCYmsIuhylcw7FOgIhAPUbm1pQP3OBu4I8TVzrbg+26C4f1+Udaoa4UkLbieYC"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"jreading","email":"mail@johnreading.com"},"maintainers":[{"name":"jreading","email":"john@resonancemultimedia.com"}]}},"readme":"# grunt-encode-images [![Build Status](https://travis-ci.org/jreading/grunt-encode-images.png?branch=master)](https://travis-ci.org/jreading/grunt-encode-images)\n\nA grunt task for base64 encoding images in css\n\nThis task converts all image paths in css files with base64 encoded data-uri formatted strings.\n\n\n## How to Use\n\nInstall this plugin with the command:\n\n```js\nnpm install grunt-encode-images\n```\n\nAdd the task to your gruntFile.js:\n\n```js\ngrunt.loadNpmTasks(\"grunt-encode-images\");\n```\nExample:\n\n```js\ngrunt.initConfig({\n \tencodeImages: {\n        build: {\n            files: [{\n                expand: true,\n                cwd: 'build/css/',\n                src: '**/phone.min.css',\n                dest: 'build/css/'\n            }]\n        }\n    }\n});\n```\n\nOptions:\n\n`flagged: exclude|include` will include or exclude a file from encoding. \nAdd target to image path: `url('images/file.png#flagged');`.\n\n```js\ngrunt.initConfig({\n \tencodeImages: {\n \t\toptions: {\n \t\t\tflagged: 'exclude'\n \t\t},\n        build: {\n            files: [{\n                expand: true,\n                cwd: 'build/css/',\n                src: '**/phone.min.css',\n                dest: 'build/css/'\n            }]\n        }\n    }\n});\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 ResonanceMultimedia LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","maintainers":[{"name":"jreading","email":"john@resonancemultimedia.com"}],"time":{"modified":"2022-06-18T14:56:13.570Z","created":"2013-06-13T17:05:19.850Z","0.1.0":"2013-06-13T17:05:20.396Z","0.1.1":"2013-06-13T17:09:37.219Z","0.1.2":"2013-06-13T17:11:55.149Z","0.1.4":"2013-10-21T15:14:42.128Z","0.1.5":"2014-04-21T20:07:25.267Z","0.1.6":"2014-04-21T20:15:03.810Z","0.1.7":"2014-04-21T20:20:19.140Z","0.1.8":"2014-04-21T20:26:59.982Z"},"author":{"name":"John Reading","email":"john@resonancemultimedia.com","url":"http://resonancemultimedia.com"},"repository":{"type":"git","url":"git://github.com/jreading/grunt-encode-images.git"},"keywords":["grunt","base64","encodng","data URI","css","images","latency","mobile"],"bugs":{"url":"https://github.com/jreading/grunt-encode-images/issues"},"readmeFilename":"README.md","homepage":"https://github.com/jreading/grunt-encode-images","users":{"jreading":true}}