Skip to content
PluginStats

squeezit weekly downloads statistics

By ghaschel · npm · Webpack plugins

Lossless image and PDF optimizer CLI, JS/TS API, and bundler plugins for PNG, JPEG, GIF, WebP, SVG, AVIF, HEIC, JXL, ICO, BMP, and more.

View on npm Fresh · Dec 6, 2026

squeezit has 176 recorded weekly downloads on npm, a decrease of 65.8% over the past 30 days, ranking #2524 of 3,247 tracked listings.

Weekly downloads
176
Official API · Dec 5, 2026
7-day growth
+54.4%
+62 weekly downloads
30-day growth
-65.8%
-339 weekly downloads
90-day growth
+105%
+90 weekly downloads
Rank
#2524
▼ 39 in 7 days

About squeezit

<p align="center"> <img src="https://raw.githubusercontent.com/ghaschel/squeezit/main/assets/squeezit-logo.svg" alt="squeezit logo" width="80%" /> </p> <p align="center"> <img src="https://raw.githubusercontent.com/ghaschel/squeezit/main/assets/squeezit-wordmark.svg" alt="Squeezit" width="440" /> </p> <p align="center"> <a href="https://www.npmjs.com/package/squeezit"><img src="https://img.shields.io/npm/v/squeezit.svg?color=0f766e&label=npm" alt="npm version" style="margin-right: 10px;"></a> <a href="https://www.npmjs.com/package/squeezit"><img src="https://img.shields.io/npm/dm/squeezit.svg?color=1d4ed8&label=downloads" alt="npm downloads" style="margin-right: 10px;"></a> <a href="https://github.com/ghaschel/squeezit/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/squeezit.svg?color=334155&label=license" alt="license"></a> </p>

squeezit is a CLI, JS/TS API, and set of build plugins for lossless image and PDF optimization. It is designed for codebases, asset folders, and content repositories where you want smaller files, predictable behavior, and a command you can trust in day-to-day workflows.

It supports direct file paths, shell-style patterns like *.png, glob expressions like images/**/*.webp, and a no-argument compress mode that scans supported image and PDF files in the current directory. Recursive scanning is available when you ask for it.

Why Squeezit

  • Lossless-first workflow across common web and design formats
  • PDF support with conservative skips for encrypted, signed, or inconclusively inspected documents
  • APNG, JXL, and ICO support alongside common web asset formats
  • Friendly CLI output with clear summaries, skips, and failures
  • Safe threshold-based replacement so tiny wins do not churn your files
  • Pattern matching that works with both regular shell parameters and glob expressions
  • Works well as a local cleanup tool before commits or releases
  • Published for Node users, while Bun remains the development and build toolchain

Installation

For npm and Bun global installations, use Node.js 22.13 or later. Homebrew and the standalone archives provide Node themselves; see their installation notes below.

npm
npm install -g squeezit
bun
bun add -g squeezit
Homebrew (macOS)

The personal tap is the easiest macOS installation because the formula installs Node and Squeezit's native optimizer tools as dependencies:

brew install ghaschel/tap/squeezit

Upgrade a formula installation with Homebrew:

brew upgrade squeezit

Confirm the complete runtime and optimizer toolchain after installation:

sqz doctor
Standalone GitHub archives

Each GitHub release includes .tar.gz archives for darwin-arm64, darwin-x64, and linux-x64, plus a SHA256SUMS file. Download the archive for your platform and SHA256SUMS from the same release, then verify it before extracting it:

ARCHIVE="squeezit-v<VERSION>-<target>.tar.gz"
grep "  $ARCHIVE$" SHA256SUMS | shasum -a 256 -c -

Replace <VERSION> and <target> with the downloaded archive's values. On Linux, replace shasum -a 256 -c - with sha256sum --check -. The archives embed a Node runtime, so no separate Node installation is required; they do not bundle native image and PDF optimizer tools. Install the tools for your platform and run sqz doctor to see exactly what is missing before optimizing files.

After installation, both commands are available:

squeezit --help
sqz --help

Quick Start

Compress supported images and PDFs in the current directory:

sqz compress

Preview changes without modifying files:

sqz compress --dry-run

Strip metadata only, without recompressing:

sqz metadata strip

Target only top-level PNGs:

sqz compress "*.png"

Target nested files with glob expressions:

sqz compress -r "images/**/*.{png,jpg,webp}"

Optimize an icon container in dry-run mode:

sqz compress favicon.ico --dry-run

Run the shorter alias:

sqz compress -r assets/**/*.jpg --dry-run

Check for a newer published version:

sqz update check

Self-update to the latest release:

sqz update apply

Integrations

squeezit is now structured to expose first-party integrations from the same package.

Available today:

  • Root JS/TS API via import { optimizeFile, optimizeFiles, stripMetadata } from "squeezit"
  • Gulp plugin via import { squeezitGulp } from "squeezit/gulp"
  • Grunt plugin via const { registerSqueezitTask } = require("squeezit/grunt")
  • Vite plugin via import { squeezitVite } from "squeezit/vite"
  • Webpack plugin via import { squeezitWebpack } from "squeezit/webpack"
  • Rollup plugin via import { squeezitRollup } from "squeezit/rollup"
  • Parcel optimizer plugin with implementation exported at squeezit/parcel
  • Astro wrapper via import { squeezitAstro } from "squeezit/astro"
  • Next.js wrapper via import { withSqueezit } from "squeezit/next"
  • esbuild plugin via import { squeezitEsbuild } from "squeezit/esbuild"
  • Babel plugin via import { squeezitBabel } from "squeezit/babel"

The supported programmatic integration surfaces are the root JS/TS API, the Gulp plugin, the Grunt plugin, the Vite plugin, the Webpack plugin, the Rollup plugin, the Parcel optimizer plugin, the Astro wrapper, the Next.js wrapper, the esbuild plugin, and the Babel plugin.

Gulp
const { src, dest } = require("gulp");
const { squeezitGulp } = require("squeezit/gulp");

exports.images = function images() {
  return src("assets/**/*", { encoding: false })
    .pipe(squeezitGulp())
    .pipe(dest("dist/assets"));
};

Use encoding: false with Gulp 5 so binary buffers are not decoded as UTF-8. Supplied contents take precedence over file.path.…

Description from the npm listing.

  • squeezit
  • image
  • images
  • image-compression
  • image-optimizer
  • image-optimization
  • lossless
  • lossless-compression
  • compress-images
  • optimize-images
  • cli
  • javascript
  • typescript
  • vite-plugin
  • webpack-plugin
  • rollup-plugin
  • parcel-plugin
  • astro-integration
  • esbuild-plugin
  • gulp-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

squeezit weekly downloads on npm, last 90 days: 176 weekly downloads as of Dec 5, 2026, +105% over 90 days.squeezitWeekly downloads on npm · Last 90 days176downloads / week+105% over 90 days0100200300400500600Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
squeezit weekly downloads on npm, last 90 days: 176 weekly downloads as of Dec 5, 2026, +105% over 90 days.

7/30/90-day growth

squeezit weekly downloads growth on npm: +54.4% over 7 days, -65.8% over 30 days, +105% over 90 days.squeezitWeekly downloads growth on npm176downloads / week now7-day growth+62 weekly downloads+54.4%30-day growth-339 weekly downloads-65.8%90-day growth+90 weekly downloads+105%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
squeezit weekly downloads growth on npm: +54.4% over 7 days, -65.8% over 30 days, +105% over 90 days.

Ranking history

squeezit npm ranking history: currently #2524 (by weekly downloads).squeezitnpm ranking · by weekly downloads · Last 90 days#2524current rank#1600#1800#2000#2200#2400#2600Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
squeezit npm ranking history: currently #2524 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 127, #4 (overall #2,524)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 8, #2 (overall #142)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for squeezit
Date (UTC)Weekly downloadsChange vs. previous
176+59
117+19
98+13
85+5
80-7
87-20
107-7
114+1
113+10
103-2
105-21
126+11
115+32
83—

Similar npm Webpack plugins plugins

All 20 squeezit alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/squeezit. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.