1.2.0 • Published 1 month ago

tinypng-plus-cli v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

tinypng

Command line tool for compressing images with TinyPNG without requiring a key; Smart WebP, PNG and JPEG Compression for Faster Websites

无需申请 KEY, 可直接使用TinyPng压缩图片的命令行工具。

Installation

npm install -g tinypng-plus-cli

Usage

> tinypng-plus-cli -h

Usage: index [options]

Options:
  -i, --input <input...>  input path list, The total file size cannot exceed 5M
  -o, --output <output>   output folder (default: ".")
  -r, --rename <name>     the output file is renamed (default: "tinified")
  -h, --help              display help for command

Example

tinypng-plus-cli -i .\test2.jpg .\images d:\static\images

TODO

边界情况处理

1.2.0

1 month ago

1.1.0

1 month ago

1.0.2

1 month ago

1.0.1

1 month ago

1.0.0

1 month ago