gzip-size-cli
Get the gzipped size of a file.
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
Loading reviews…
Similar apps
Terminals & CLI
strip-json-comments-cli
Strip comments from JSON.
Terminals & CLI
strip-css-comments-cli
Strip comments from CSS.
File Management & Transfer
file-type-cli
Detect the file type of a file or stdin.
Terminals & CLI
npm-user-cli
Get user info of a npm user.
Terminals & CLI
imgur-uploader-cli
Upload images to imgur.
Terminals & CLI
get-port-cli
Get an available port.