1.1.0 • Published 7 years ago

tinify-cli v1.1.0

Weekly downloads
6
License
ISC
Repository
github
Last release
7 years ago

tinify-cli

Tinify images from the command line using the tinify API

Installation

npm i tinify-cli -g

Usage

Usage: tinify-cli [options] <glob-pattern>

Options:
  -k, --key   Your tinify API key. You can get a tinify API key at https://tinypng.com/developers
  -h, --help  Show help

Examples:
  bin\cli.js --key secretkey **/*.png                         tinify .png files
  bin\cli.js --key secretkey **/*.jpg                         tinify .jpg files
  bin\cli.js --key secretkey **/*.{png,gif,jpg}               tinify all image files