# tinify-compress-images

> compressing images

Latest version **1.0.4** (published 2022-12-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install tinify-compress-images
pnpm add tinify-compress-images
yarn add tinify-compress-images
bun add tinify-compress-images
```

## 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.4 |
| Published | 2022-12-13 |
| First published | 2022-12-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | gong |
| Maintainers | gonggong |
| Keywords | tinify, tinypng, tinyjpg, compress, optimize, images |

## Links

- npm: https://www.npmjs.com/package/tinify-compress-images
- Repository: https://github.com/gzwgq222/tinify-compress-images
- Homepage: https://github.com/gzwgq222/tinify-compress-images#readme
- Issues: https://github.com/gzwgq222/tinify-compress-images/issues
- npm.io page: https://npm.io/package/tinify-compress-images

## Dependencies (6)

- [chalk](https://npm.io/package/chalk.md) ^5.1.2
- [tinify](https://npm.io/package/tinify.md) ^1.7.1
- [nodemon](https://npm.io/package/nodemon.md) ^2.0.20
- [prettier](https://npm.io/package/prettier.md) ^2.8.0
- [fancy-log](https://npm.io/package/fancy-log.md) ^2.0.0
- [ansi-colors](https://npm.io/package/ansi-colors.md) ^4.1.3

## 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.4 (latest) — 2022-12-13
- 1.0.3 — 2022-12-12
- 1.0.2 — 2022-12-06
- 1.0.1 — 2022-12-06
- 1.0.0 — 2022-12-06

## README

# compressing images by tinify

# Installation

`npm install --save tinify-compress-images`

# Quick Start
```js
const { compressingImages } = require('tinify-compress-images')
const path = require('path')

const config = {
  key: 'xxxxxxxxx', // tinify key
  projectPath: path.join(__dirname, '../../fe-middleend/src/pages/promo'), // project path
  ignoreDirectorys: ['node_modules', 'dist', '.git', '.site'], // default ['node_modules', '.git']
  cacheMd5Path: './md5.json' // default './md5.json'

}

compressingImages(config)
```

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