tinypng-plus-cli

1.2.1 • Public • Published

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

边界情况处理

Package Sidebar

Install

npm i tinypng-plus-cli

Weekly Downloads

55

Version

1.2.1

License

MIT

Unpacked Size

760 kB

Total Files

9

Last publish

Collaborators

  • codervae