# tinyfy-image

> > It's npm tool based on https://tinypng.com API which allows you easier to compress you images.

Latest version **1.0.2** (published 2016-08-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install tinyfy-image
pnpm add tinyfy-image
yarn add tinyfy-image
bun add tinyfy-image
```

Provides the command `tinyfy-image`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-08-17 |
| First published | 2016-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | 华续 |
| Maintainers | huaxu |
| Keywords | image, tinyfy, tinypng |

## Links

- npm: https://www.npmjs.com/package/tinyfy-image
- Repository: https://github.com/yolo2013/tinyfy-image
- Homepage: https://github.com/yolo2013/tinyfy-image#readme
- Issues: https://github.com/yolo2013/tinyfy-image/issues
- npm.io page: https://npm.io/package/tinyfy-image

## Dependencies (4)

- [colors](https://npm.io/package/colors.md) ^1.1.2
- [tinify](https://npm.io/package/tinify.md) ^1.3.0
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [image-size](https://npm.io/package/image-size.md) ^0.5.0

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2016-08-17
- 1.0.1 — 2016-08-17
- 1.0.0 — 2016-08-17

## README

# tinyfy-image
> It's npm tool based on https://tinypng.com API which allows you easier to compress you images.

##Installation
    $ npm install -g tinify-image

##Quick Start

### Setup API Key

You can get your API key from [https://tinypng.com/developers](https://tinypng.com/developers). And then

    $ tinyfy-image setKey 'Your API Key'

### Compress Image

By default, source folder will be **source**, output folder will be **output**. So you can just run ```tinyfy-image``` on this condition.

    $ tinyfy-image -s 'SourceImageFolder' -o 'OutputImageFolder'

###Get Count

Get info about how much images **the API key** already optimized this month.

    $ tinyfy-image count

> Note: you have 500 images per month to optimize for free, you have to pay https://tinypng.com to get more images optimized per 1 month.

##Links
https://tinypng.com/
https://github.com/DarthMarcius/img-tinify

##License
  
MIT

---
_Source: https://npm.io/package/tinyfy-image · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
