Skip to content
JS
Package

brotli-size

Get the brotli compressed size of a string or buffer

v4.0.0, 8 Aug 2019MITCommonJSTypes: NoneCompression and archives
$ npm install brotli-size

Key numbers

As of 25 Sept 2026
Weekly downloads
342.4k
-11% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 years ago
v4.0.0
GitHub stars
20
4 forks
Open issues / PRs
0 / 7
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 510.1k (21 Oct 2025)Low 175.9k (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.

342,404 downloads last week, 1,554,906 in the last month. The 12-month change of -11% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
08 in total
Latest version
4.0.0, 8 Aug 20197 years ago
First published
15 May 2016
Last push to GitHub
3 Jan 20231,360 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
7
Commits, last 52 weeks
0
Dependents on npm
153

Major versions

  1. v4 first release 4.0.0, 8 Aug 2019
  2. v3 first release 3.0.0, 16 Jul 2019
  3. v1 first release 1.0.0, 16 Jul 2019
  4. v0 first release 0.0.1, 15 May 2016

Recent releases

VersionPublished
4.0.08 Aug 2019
3.0.117 Jul 2019
3.0.016 Jul 2019
1.0.016 Jul 2019
0.1.06 May 2019
0.0.34 Aug 2018
0.0.213 Mar 2018
0.0.115 May 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 10.16.0
Runtimes
-
Unpacked size (npm)
137 kB
Dependencies (1)
duplexer
npm install brotli-size
  • jsDelivrhttps://cdn.jsdelivr.net/npm/brotli-size@4.0.0/
  • unpkghttps://unpkg.com/brotli-size@4.0.0/
  • esm.shhttps://esm.sh/brotli-size@4.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.