VibeHunt
Back to browse
gzip-size-cli

gzip-size-cli

Get the gzipped size of a file.

Source

The tool provides a command‑line interface for measuring the size of a file after gzip compression. It can read a file directly or accept data from standard input, then report the compressed size in a human‑readable format or as a raw byte count. An optional flag lets the user include the original, uncompressed size alongside the gzipped value.

Users such as developers, build scripts, and CI pipelines can invoke the command with a simple syntax, optionally specifying the gzip compression level (0‑9, default 9). The utility also offers a “raw” mode for byte‑only output, which is useful for programmatic consumption.

The package is distributed via npm, can be installed globally, and is marked as stable with core CLI availability. It is related to the underlying gzip‑size library that provides the same functionality as an API.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps