1.0.4 • Published 3 years ago

tpng-cli v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Tinypng CLI

This is a simple CLI tool to upload images to the tinify/tinypng API.

I was using another tool like this one that I found incredibly useful, but unfortunately the project seems dead. So I rewrote my own! The CLI stores your key in ~/.config/tpng/config.json.

To use, just run tpng key {KEY} once!

Then, tpng <image>.

This CLI tool also supports globbing, but it does not validate that the files you select are images! You will get an error if that is the case.

WARNING: THIS PROGRAM OVERWRITES THE SELECTED FILE.

Installation

npm i -g tpng-cli

Usage

tpng key {YOUR API KEY}
tpng <image>
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago