pngmin-cli

pngmin-cli

Usage no npm install needed!

<script type="module">
  import pngminCli from 'https://cdn.skypack.dev/pngmin-cli';
</script>

README

pngmin-cli

A piping CLI for optimizing PNG images

travis npm-downloads npm-version

You put a PNG in and get a smaller PNG out. It's that simple.

npx pngmin-cli < original.png > optimized.png

This is a wrapper around the wonderful imagemin using pngquant. If you are already using those tools, this CLI will not give you better output. If you like dealing with images but hate dealing with files, this CLI is for you.