node-tinypng

0.0.5 • Public • Published

TinyPNG

NPM version Downloads

Compress PNG with TinyPNG API in terminal.

Installation

$ npm install -g node-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.

License

MIT © Nikolay Solovyov

Package Sidebar

Install

npm i node-tinypng

Weekly Downloads

4

Version

0.0.5

License

none

Unpacked Size

8.54 kB

Total Files

5

Last publish

Collaborators

  • mr_ozio