# imgcmp

> tool for image compression

Latest version **1.1.5** (published 2020-03-24) · MIT license · 0 weekly downloads

## Install

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

Provides the command `imgcmp`.

## 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.1.5 |
| Published | 2020-03-24 |
| First published | 2019-08-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 14.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Buddy Team |
| Maintainers | bylek, mical |
| Keywords | minify, compress, image, images, jpeg, jpg, png, gif, svg |

## Links

- npm: https://www.npmjs.com/package/imgcmp
- Repository: https://github.com/buddy-works/imgcmp
- Homepage: https://github.com/buddy-works/imgcmp#readme
- Issues: https://github.com/buddy-works/imgcmp/issues
- npm.io page: https://npm.io/package/imgcmp

## Dependencies (9)

- [async](https://npm.io/package/async.md) ^3.1.0
- [colors](https://npm.io/package/colors.md) ^1.3.3
- [fs-extra](https://npm.io/package/fs-extra.md) ^8.1.0
- [imagemin](https://npm.io/package/imagemin.md) ^7.0.0
- [commander](https://npm.io/package/commander.md) ^2.20.0
- [imagemin-svgo](https://npm.io/package/imagemin-svgo.md) ^7.0.0
- [imagemin-mozjpeg](https://npm.io/package/imagemin-mozjpeg.md) ^8.0.0
- [imagemin-gifsicle](https://npm.io/package/imagemin-gifsicle.md) ^6.0.1
- [imagemin-pngquant](https://npm.io/package/imagemin-pngquant.md) ^8.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

- 1.1.5 (latest) — 2020-03-24
- 1.1.4 — 2019-09-13
- 1.1.3 — 2019-09-13
- 1.1.2 — 2019-09-06
- 1.1.1 — 2019-09-06
- 1.1.0 — 2019-09-06
- 1.0.12 — 2019-08-21
- 1.0.11 — 2019-08-21
- 1.0.10 — 2019-08-21
- 1.0.9 — 2019-08-21
- 1.0.8 — 2019-08-21
- 1.0.7 — 2019-08-21
- 1.0.6 — 2019-08-21
- 1.0.5 — 2019-08-20
- 1.0.4 — 2019-08-20
- … 4 more at https://npm.io/package/imgcmp/versions

## README

imgcmp
==============================================================================
[![buddy pipeline](https://app.buddy.works/hi-there/imgcmp/pipelines/pipeline/205313/badge.svg?token=e8b8f0081f207b429dc2802fa29c9599964cdc62907097473e1c0bd58ec929e2 "buddy pipeline")](https://app.buddy.works/hi-there/imgcmp/pipelines/pipeline/205313)
[![GitHub issues](https://img.shields.io/github/issues/buddy-works/imgcmp.svg)](https://github.com/buddy-works/imgcmp/issues)
[![GitHub stars](https://img.shields.io/github/stars/buddy-works/imgcmp.svg)](https://github.com/buddy-works/imgcmp/stargazers)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/buddy-works/imgcmp/master/LICENSE)

imgcmp is used to compress images from the terminal.

### About Buddy.Works

[**Buddy.Works**](https://buddy.works/) is a Docker-based CI server with auto-deployment tools. Its core feature are pipelines that let developers automate repeatable tasks, for example: build, test and deploy applications, compress images, run SSH scripts, monitor websites, build and push Docker images, or send custom Slack notifications – automatically on push, manually on click, or on time interval.

![](https://buddy.works/data/blog/_images/pipelines/pipelines-5.gif)

Features
------------------------------------------------------------------------------
- compress jpg, png, svg, gif
- three levels of compression
- compress only changed images
- recurrent search
- preserved directory structure 
- integrated as an pipeline action in [**Buddy.Works**](https://buddy.works/)


Installation
------------------------------------------------------------------------------
```
npm install imgcmp
```

Usage
------------------------------------------------------------------------------

The tool will be immediately available after the installation.
You can call `imgcmp -h` to find out more about commands available.

```
./node_modules/.bin/imgcmp --level=3 source/path dest/path
```

License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE).

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