Package
brotli-size
Get the brotli compressed size of a string or buffer
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
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
- v4 first release 4.0.0, 8 Aug 2019
- v3 first release 3.0.0, 16 Jul 2019
- v1 first release 1.0.0, 16 Jul 2019
- v0 first release 0.0.1, 15 May 2016
Recent releases
| Version | Published |
|---|---|
| 4.0.0 | 8 Aug 2019 |
| 3.0.1 | 17 Jul 2019 |
| 3.0.0 | 16 Jul 2019 |
| 1.0.0 | 16 Jul 2019 |
| 0.1.0 | 6 May 2019 |
| 0.0.3 | 4 Aug 2018 |
| 0.0.2 | 13 Mar 2018 |
| 0.0.1 | 15 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- jsDelivr
https://cdn.jsdelivr.net/npm/brotli-size@4.0.0/ - unpkg
https://unpkg.com/brotli-size@4.0.0/ - esm.sh
https://esm.sh/brotli-size@4.0.0
Indexability: Indexed.