tinypic

0.1.1 • Public • Published

tinypic NPM version NPM downloads

Compress JPG or PNG file in command line.

Install

$ npm install -g tinypic

Usage

Get an API Key first: https://tinypng.com/developers

# Set API Key before use 
$ tinypic use $API_KEY
 
# Compress an image 
$ tinypic example.jpg
# it writes to example.min.jpg 
 
# Custom destination 
$ tinypic example.jpg ../output.foo.jpg

License

MIT © EGOIST

Package Sidebar

Install

npm i tinypic

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • kchan