Skip to content
JS
Package

vite-plugin-compression

Use gzip or brotli to compress resources.

v0.5.1, 29 Jan 2022MITESM + CommonJSTypes: BundledBundler plugins and loaders
$ npm install vite-plugin-compression

Key numbers

As of 25 Sept 2026
Weekly downloads
431.8k
+106% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
4 years ago
v0.5.1
GitHub stars
466
29 forks
Open issues / PRs
18 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 615.2k (19 May 2026)Low 174.7k (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.

431,767 downloads last week, 2,101,246 in the last month. The 12-month change of +106% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
017 in total
Latest version
0.5.1, 29 Jan 20224 years ago
First published
4 Feb 2021
Last push to GitHub
20 May 2024857 days before the snapshot
Repository archived
No
Open issues
18
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v0 first release 0.1.0, 4 Feb 2021

Recent releases

VersionPublished
0.5.129 Jan 2022
0.5.028 Jan 2022
0.4.028 Dec 2021
0.3.625 Nov 2021
0.3.523 Aug 2021
0.3.31 Aug 2021
0.3.21 Aug 2021
0.3.118 Jul 2021
0.2.618 Jul 2021
0.3.05 Jul 2021
0.2.59 May 2021
0.2.43 Apr 2021
0.2.32 Mar 2021
0.2.223 Feb 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
15 kB
Dependencies (3)
chalkdebugfs-extra
Peer dependencies (1)
vite
npm install vite-plugin-compression
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-plugin-compression@0.5.1/
  • unpkghttps://unpkg.com/vite-plugin-compression@0.5.1/
  • esm.shhttps://esm.sh/vite-plugin-compression@0.5.1
PackageWeekly downloadsGzipLast releaseModuleComparison
vite-plugin-svgr3.7m-5 months agoESM + CommonJS-
vite-plugin-checker2.5m-2 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.