easy-imagemin

you can use easy-imagemin to minifly all images in some path

Usage no npm install needed!

<script type="module">
  import easyImagemin from 'https://cdn.skypack.dev/easy-imagemin';
</script>

README

easy-imagemin

you can use easy-imagemin to minifly all images in some path

npm

npm

easy-imagemin 是一个基于imagemin的图片压缩命令行工具,快速批量压缩某一个目录内所有图片. easy-imagemin is a imagemin base cli tool, you can use it to minifly all images in some path. ^_^

Install && Useage

$ npm install easy-imagemin -g
$ easy-imagemin -t:<目标目录(target path)> -o:<输出目录(out path)>

output to target path

$ easy-imagemin -t:<目标目录(target path)> -o:@current -f