Simply and quickly minify your images by passing a source, a destination and a target quality as parameters
Table of content
Install
npm install coffeekraken-imagemin --save-dev
Get Started
Use the CLI as follow:
coffeekraken-imagemin -s src/img -o dist/img -q 80
CLI Options
Here's all the CLI options available:
-s|--source
Specify the source folder where to find the images to minify
- default :
src/img
-o|--output
Specify the output folder where to store the minified images
- default :
dist/img
-q|--quality
Specify the target quality for minification between 0 and 100
- default :
80
Contribute
This is an open source project and will ever be! You are more that welcomed to contribute to his development and make it more awesome every day. To do so, you have several possibilities:
Who are Coffeekraken
We try to be some cool guys that build some cool tools to make our (and yours hopefully) every day life better.
More on who we are
License
The code is available under the MIT license. This mean that you can use, modify, or do whatever you want with it. This mean also that it is shipped to you for free, so don't be a hater and if you find some issues, etc... feel free to contribute instead of sharing your frustrations on social networks like an asshole...