Skip to content
JS
Package

gzip-size

Get the gzipped size of a string or buffer

v7.0.0, 23 Nov 2021MITESM onlyTypes: BundledCompression and archives
$ npm install gzip-size

Key numbers

As of 25 Sept 2026
Weekly downloads
17.2m
+29% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 years ago
v7.0.0
GitHub stars
173
15 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 21.4m (18 Aug 2026)Low 7.4m (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.

17,192,575 downloads last week, 77,067,870 in the last month. The 12-month change of +29% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
018 in total
Latest version
7.0.0, 23 Nov 20214 years ago
First published
28 Feb 2014
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
1,280

Major versions

  1. v7 first release 7.0.0, 23 Nov 2021
  2. v6 first release 6.0.0, 16 Nov 2020
  3. v5 first release 5.0.0, 5 Jul 2018
  4. v4 first release 4.0.0, 8 Sept 2017
  5. v3 first release 3.0.0, 17 Aug 2015
  6. v2 first release 2.0.0, 10 Jun 2015
  7. v1 first release 1.0.0, 9 Aug 2014
  8. v0 first release 0.1.0, 28 Feb 2014

Recent releases

VersionPublished
7.0.023 Nov 2021
6.0.016 Nov 2020
5.1.121 May 2019
5.1.015 Apr 2019
5.0.05 Jul 2018
4.1.022 Nov 2017
4.0.122 Nov 2017
4.0.08 Sept 2017
3.0.017 Aug 2015
2.1.014 Aug 2015
2.0.311 Jun 2015
2.0.210 Jun 2015
2.0.110 Jun 2015
2.0.010 Jun 2015
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^12.20.0 || ^14.13.1 || >=16.0.0
Runtimes
-
Unpacked size (npm)
8.1 kB
Dependencies (1)
duplexer
npm install gzip-size
  • jsDelivrhttps://cdn.jsdelivr.net/npm/gzip-size@7.0.0/
  • unpkghttps://unpkg.com/gzip-size@7.0.0/
  • esm.shhttps://esm.sh/gzip-size@7.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.