Skip to content
JS
Package

browser-image-compression

Compress images in the browser

v2.0.2, 6 Mar 2023MITESM + CommonJSTypes: BundledImage processing
$ npm install browser-image-compression

Key numbers

As of 25 Sept 2026
Weekly downloads
997.8k
+180% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 years ago
v2.0.2
GitHub stars
1.7k
187 forks
Open issues / PRs
51 / 14
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.5m (4 Aug 2026)Low 331.3k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

997,846 downloads last week, 5,080,891 in the last month. The 12-month change of +180% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
022 in total
Latest version
2.0.2, 6 Mar 20233 years ago
First published
22 Jul 2017
Last push to GitHub
8 Mar 2024930 days before the snapshot
Repository archived
No
Open issues
51
Open pull requests
14
Commits, last 52 weeks
0
Dependents on npm
304

Major versions

  1. v2 first release 2.0.0, 12 Apr 2022
  2. v1 first release 1.0.0, 6 Feb 2019
  3. v0 first release 0.0.1, 22 Jul 2017

Recent releases

VersionPublished
2.0.26 Mar 2023
2.0.15 Mar 2023
2.0.012 Apr 2022
1.0.1714 Nov 2021
1.0.1626 Sept 2021
1.0.1511 Aug 2021
1.0.146 Jan 2021
1.0.138 Nov 2020
1.0.124 Jun 2020
1.0.117 May 2020
1.0.107 May 2020
1.0.925 Mar 2020
1.0.816 Mar 2020
1.0.716 Mar 2020
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
843 kB
Dependencies (1)
uzip
npm install browser-image-compression

CDN

jsDelivr: 71.6m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/browser-image-compression@2.0.2/
  • unpkghttps://unpkg.com/browser-image-compression@2.0.2/
  • esm.shhttps://esm.sh/browser-image-compression@2.0.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.