Skip to content

Latest commit

 

History

History
25 lines (11 loc) · 365 Bytes

README.md

File metadata and controls

25 lines (11 loc) · 365 Bytes

png-t: a command-line compress img

png-t 调用tinypng官网 进行图片压缩 无需申请api无数量限制.

全局安装:

 npm install png-t -g

按需运行:

 npx png-t [path] [options]

Usage:

 png-t [path] [options]

[path]压缩图片目录地址 默认参数 ./.

可选参数:

-d--dist 输出文件地址