gzip-size is a Node.js package that efficiently calculates the gzipped size of a given string or buffer. It's ideal for optimizing web assets and understanding the compressed size impact of code changes. The package offers a straightforward API, making it easy to integrate into build processes and performance monitoring tools. By providing quick and accurate gzip size measurements, gzip-size aids in reducing bandwidth usage and improving website loading times, thus boosting user experience.
Gzip-size downloads show a generally increasing trend from March 2024 to August 2025, peaking in June and July 2025 around 65 million. September 2025 downloads are significantly lower, likely due to incomplete data for the current month.
The npm package gzip-size has been sporadically released since February 2014. The most active periods were in 2015 (especially June) and 2017. Releases have become less frequent over time, with the last version, 7.0.0, published in November 2021. There have been no releases since.