@coffeekraken/imagemin

Simply and quickly minify your images by passing a source, a destination and a target quality as parameters

Usage no npm install needed!

<script type="module">
  import coffeekrakenImagemin from 'https://cdn.skypack.dev/@coffeekraken/imagemin';
</script>

README

Coffeekraken imagemin

npm npm npm

Simply and quickly minify your images by passing a source, a destination and a target quality as parameters

Table of content

  1. Install
  2. Get Started
  3. CLI Options
  4. Coffeekraken

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

Coffeekraken

We are a young collective of front-end creative developers with one goal in mind. Build tools to make every team working day life better. This is our first and only concern. All our tools are build around that purpose. All what we provide are some cool tools that you can use the way you want. These tools features cover a large scope of the front-end workflow (styleguide generation, colors/fonts management, etc...). You can use only the parts that you need and let the rest aside...

Coffeekraken