minify-your-img
图片压缩插件 仅限本地哦:)
CompressApp
本项目已停更 更完整项目请移步客户端程序 传送门:使用
/**
* @params {type} 文件类型
* @params {source} 文件名或文件夹名或链接地址(需将源文件放至source目录下)
* source类型1 dir: 文件夹
* source类型2 file: 单文件
* source类型3 url: 图片链接
* @return {target} 压缩的图片输出至target目录下
*/
node index type source
目前进度
- 压缩单图
- 压缩文件夹下所有图片
- 压缩在线图片