Package
vite-plugin-compression
Use gzip or brotli to compress resources.
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
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
- v0 first release 0.1.0, 4 Feb 2021
Recent releases
| Version | Published |
|---|---|
| 0.5.1 | 29 Jan 2022 |
| 0.5.0 | 28 Jan 2022 |
| 0.4.0 | 28 Dec 2021 |
| 0.3.6 | 25 Nov 2021 |
| 0.3.5 | 23 Aug 2021 |
| 0.3.3 | 1 Aug 2021 |
| 0.3.2 | 1 Aug 2021 |
| 0.3.1 | 18 Jul 2021 |
| 0.2.6 | 18 Jul 2021 |
| 0.3.0 | 5 Jul 2021 |
| 0.2.5 | 9 May 2021 |
| 0.2.4 | 3 Apr 2021 |
| 0.2.3 | 2 Mar 2021 |
| 0.2.2 | 23 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- jsDelivr
https://cdn.jsdelivr.net/npm/vite-plugin-compression@0.5.1/ - unpkg
https://unpkg.com/vite-plugin-compression@0.5.1/ - esm.sh
https://esm.sh/vite-plugin-compression@0.5.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| vite-plugin-svgr | 3.7m | - | 5 months ago | ESM + CommonJS | - |
| vite-plugin-checker | 2.5m | - | 2 months ago | ESM only | - |
Indexability: Indexed.