https://github.com/excaliburhan/multi-tinypng
Use command line to compress png/jpg files via tinypng api. Support multi api keys.
https://github.com/excaliburhan/multi-tinypng
command-line nodejs tinypng
Last synced: 4 months ago
JSON representation
Use command line to compress png/jpg files via tinypng api. Support multi api keys.
- Host: GitHub
- URL: https://github.com/excaliburhan/multi-tinypng
- Owner: excaliburhan
- License: mit
- Created: 2016-12-19T15:04:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-24T17:10:25.000Z (almost 8 years ago)
- Last Synced: 2025-04-26T05:01:44.760Z (6 months ago)
- Topics: command-line, nodejs, tinypng
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# MultiPNG
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url]
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.
```[downloads-image]: http://img.shields.io/npm/dm/multi-tinypng.svg
[npm-url]: https://npmjs.org/package/multi-tinypng
[npm-image]: http://img.shields.io/npm/v/multi-tinypng.svg