# tinypic

> Compress JPG or PNG file in command line.

Latest version **0.1.1** (published 2016-07-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install tinypic
pnpm add tinypic
yarn add tinypic
bun add tinypic
```

Provides the command `tinypic`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2016-07-24 |
| First published | 2016-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | EGOIST |
| Maintainers | kchan |
| Keywords | compress, image, tinify, tinypng, tinyjpg |

## Links

- npm: https://www.npmjs.com/package/tinypic
- Repository: https://github.com/egoist/tinypic
- Homepage: https://github.com/egoist/tinypic#readme
- Issues: https://github.com/egoist/tinypic/issues
- npm.io page: https://npm.io/package/tinypic

## Dependencies (5)

- [cac](https://npm.io/package/cac.md) ^1.0.0
- [suffix](https://npm.io/package/suffix.md) ^0.1.0
- [tinify](https://npm.io/package/tinify.md) ^1.3.0
- [io-spin](https://npm.io/package/io-spin.md) ^0.3.0
- [configstore](https://npm.io/package/configstore.md) ^2.0.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

- 0.1.1 (latest) — 2016-07-24
- 0.1.0 — 2016-06-22

## README

# tinypic [![NPM version](https://img.shields.io/npm/v/tinypic.svg)](https://npmjs.com/package/tinypic) [![NPM downloads](https://img.shields.io/npm/dm/tinypic.svg)](https://npmjs.com/package/tinypic)

> Compress JPG or PNG file in command line.

## Install

```bash
$ npm install -g tinypic
```

## Usage

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

```bash
# 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](https://github.com/egoist)

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