# @taro-hooks/compressorjs

> JavaScript image compressor.

Latest version **2.2.0** (published 2025-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @taro-hooks/compressorjs
pnpm add @taro-hooks/compressorjs
yarn add @taro-hooks/compressorjs
bun add @taro-hooks/compressorjs
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.2.0 |
| Published | 2025-04-06 |
| First published | 2022-08-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 110.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5764 |
| Author | Chen Fengyuan |
| Maintainers | innocces |
| Keywords | image, compress, compressor, compressor.js, image-compressor, lossy-compression, javascript, front-end, web |

## Links

- npm: https://www.npmjs.com/package/@taro-hooks/compressorjs
- Repository: https://github.com/fengyuanchen/compressorjs
- Homepage: https://fengyuanchen.github.io/compressorjs
- Issues: https://github.com/fengyuanchen/compressorjs/issues
- npm.io page: https://npm.io/package/@taro-hooks/compressorjs

## Dependencies (2)

- [is-blob](https://npm.io/package/is-blob.md) ^2.1.0
- [@taro-hooks/blueimp-canvas-to-blob](https://npm.io/package/@taro-hooks/blueimp-canvas-to-blob.md) 2.2.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 2.2.0 (latest) — 2025-04-06
- 2.0.0-beta-serro.5 (canary) — 2022-09-17
- 2.1.0 — 2024-07-25
- 2.0.11 — 2024-04-24
- 2.0.10 — 2024-01-14
- 2.0.9 — 2024-01-14
- 2.0.8 — 2023-12-03
- 2.0.7 — 2023-10-02
- 2.0.6 — 2023-09-03
- 2.0.5 — 2023-08-13
- 2.0.4 — 2023-07-30
- 2.0.3 — 2023-07-09
- 2.0.2 — 2023-07-02
- 2.0.1 — 2023-06-23
- 2.0.0-beta-serro.3 — 2022-09-03
- … 4 more at https://npm.io/package/@taro-hooks/compressorjs/versions

## README

# `@taro-hooks/compressorjs`

Fork from [compressorjs](https://github.com/fengyuanchen/compressorjs)

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