multi-tinypng

0.0.4 • Public • Published

MultiPNG

NPM version Downloads

Thanks to lagden and ozio

Compress PNG/JPG with TinyPNG API in terminal.

Support multi API keys, if one reaches the limit, automaticly switch to another!

Installation

$ npm install -g multi-tinypng

Usage

Usage: tinypng [options] [image.png|*.png]

  -k, --api-key       Set default TinyPNG API key.
  -r, --allow-rewrite Rewrite the original files with compressed data.
  -n, --allow-nonpng  Allow you to compress files without .png extention.
  -p, --postfix       Postfix for compressed files when rewriting disabled.
  -h, --help          This message.
  -v, --version       Show version.

Package Sidebar

Install

npm i multi-tinypng

Weekly Downloads

4

Version

0.0.4

License

MIT

Last publish

Collaborators

  • xiaoping