GitShow/sindresorhus/gzip-size
sindresorhus

gzip-size

Get the gzipped size of a string or buffer

by sindresorhus
Star on GitHubForknpm

JavaScript

173 stars15 forks15 contributorsQuiet · 4y agoSince 2014v7.0.0MIT

Meet the team

See all 15 on GitHub →
sindresorhus
sindresorhus46 contributions
zertosh
zertosh2 contributions
Turbo87
Turbo872 contributions
arthurvr
arthurvr1 contribution
bradtgmurray
bradtgmurray1 contribution
dy
dy1 contribution
devongovett
devongovett1 contribution
BendingBender
BendingBender1 contribution

Languages

View on GitHub →
JavaScript77.7%
TypeScript22.3%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
amalitsky
Doesn't seem to work with ESM builds for nodejs envClosedIssue

Since it is using deprecated Duplexer library, (with 15M weekly downloads btw) which has only CJS build to it. Building my package with (goes through fine) and trying to run the "binary", I get the following error message: First line of duplexer's build is: And it is causing problems. My ts config uses as and , and I have in package.json. Once I drop import from my code, all builds and works fine. Let me know how I can help and thank you for the library! :heart: Seemingly related issue with _esbuild_. I use _tsup_ but these are similar tools.

amalitsky · 11mo ago
coremyslo
Version 7 is incompatible with "commonjs" typescript compilerClosedIssue

I have an error when trying to compile code using this module on node v16.17.1 on MacOS 13.1 with following setup (version 6 working just fine): My setup (to reproduce):

coremyslo · 3y ago
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
Structured data for AI agents

Repository: sindresorhus/gzip-size. Description: Get the gzipped size of a string or buffer Stars: 173, Forks: 15. Primary language: JavaScript. Languages: JavaScript (77.7%), TypeScript (22.3%). License: MIT. Latest release: v7.0.0 (4y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 85%. Top contributors: sindresorhus, zertosh, Turbo87, arthurvr, bradtgmurray, dy, devongovett, BendingBender, kevva, tikotzky and others.

·@ofershap

Replace github.com with gitshow.dev