yx-tiny
v0.0.10
Published
图片压缩工具
Downloads
17
Readme
yx-tiny
图片压缩工具(支持svga压缩、支持重复压缩识别)
掘金文章:图片不压缩,前端要背锅 🍳
用途
yx-tiny
是一个基于tiny、、自动化的图片压缩工具(支持svga压缩以及识别已压缩的文件)。
如何使用
- 安装
$ npm i -D yx-tiny
- 运行
$ npx tiny
or
scripts: {
'tiny': 'npx tiny'
}
$ npm run tiny
- 输入目标文件夹
- 选择命中的文件夹
- 选择压缩模式
- 完成压缩