{"_id":"grunt-imageworsener","_rev":"29-c3b17e4eded233cad6431102aceb3186","name":"grunt-imageworsener","time":{"modified":"2022-06-18T15:13:26.592Z","created":"2014-04-05T13:01:46.468Z","0.1.1":"2014-04-05T18:23:28.054Z"},"maintainers":[{"name":"jeremy-green","email":"mutatedcreativity@gmail.com"}],"description":"ImageWorsener task runner for grunt.","readme":"# grunt-imageworsener\n\n> ImageWorsener task runner for grunt.\n\n## Getting Started\nThis plugin requires Grunt `~0.4.4`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-imageworsener --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-imageworsener');\n```\n\n## The \"imageworsener\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `imageworsener` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  imageworsener: {\n    options: {\n      // Task-specific options go here.\n    },\n    your_target: {\n      // Target-specific file lists and/or options go here.\n    },\n  },\n});\n```\n\n### Options\n\n#### args\n\nType: `Object`\n\nThe command line arguments sent to the ImageWorsener task. See the [ImageWorsener](https://github.com/jsummers/imageworsener) Github page for a full list of arguments.\n\n### Usage Examples\n\n```js\ngrunt.initConfig({\n  imageworsener: {\n    options: {\n      args: {\n        h: 90,\n        bkgd: '88f,0f0',\n        cc: 2,\n        dither: 'f'\n      }\n    },\n    dist: {\n      files: {\n        'img/dist': ['img/*.{png,jpg,gif}']\n      }\n    }\n  }\n});\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n_(Nothing yet)_\n","versions":{"0.1.1":{"name":"grunt-imageworsener","description":"ImageWorsener task runner for grunt.","version":"0.1.1","homepage":"https://github.com/jeremy-green/grunt-imageworsener","author":{"name":"Jeremy Green","email":"green@mutatedcreativity.com","url":"http://www.mutatedcreativity.com"},"repository":{"type":"git","url":"git://github.com/jeremy-green/grunt-imageworsener.git"},"bugs":{"url":"https://github.com/jeremy-green/grunt-imageworsener/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jeremy-green/grunt-imageworsener/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"devDependencies":{"grunt-contrib-jshint":"^0.9.2","grunt":"~0.4.4"},"peerDependencies":{"grunt":"~0.4.4"},"keywords":["gruntplugin"],"_id":"grunt-imageworsener@0.1.1","dist":{"shasum":"e3a7cbb8acd8a122d2fa850ee577e44aa0b69d9a","tarball":"https://registry.npmjs.org/grunt-imageworsener/-/grunt-imageworsener-0.1.1.tgz","integrity":"sha512-Y69+tdkK/yEVxwa4LBuRa4oppENT+XKMZbkcR8/5SSaBcYwQrj40eq3EO0E4USBFbBTecCTFvQ6nDo6WbEvPFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAUo+4nPqV2asTg6nUCVSq/r46yBH6LuAzgE8tvFY0wgIhAILHefkUIBhG2ezz+oN+D3As5UZyW9mY3NMtRAtYLXy/"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"jeremy-green","email":"mutatedcreativity@gmail.com"},"maintainers":[{"name":"jeremy-green","email":"mutatedcreativity@gmail.com"}]}},"dist-tags":{"0.1.1":"0.1.1","latest":"0.1.1"},"readmeFilename":"README.md","homepage":"https://github.com/jeremy-green/grunt-imageworsener","keywords":["gruntplugin"],"repository":{"type":"git","url":"git://github.com/jeremy-green/grunt-imageworsener.git"},"author":{"name":"Jeremy Green","email":"green@mutatedcreativity.com","url":"http://www.mutatedcreativity.com"},"bugs":{"url":"https://github.com/jeremy-green/grunt-imageworsener/issues"}}