
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
gzip-size-cli
Advanced tools
Get the gzipped size of a file or stdin
npm install --global gzip-size-cli
$ gzip-size --help
Usage
$ gzip-size <file>
$ cat <file> | gzip-size
Options
--level Compression level [0-9] (Default: 9)
--raw Display value in bytes
--include-original Include original size
Examples
$ gzip-size unicorn.png
192 kB
$ gzip-size unicorn.png --raw
192256
$ gzip-size unicorn.png --include-original
392 kB → 192 kB
FAQs
Get the gzipped size of a file or stdin
The npm package gzip-size-cli receives a total of 14,826 weekly downloads. As such, gzip-size-cli popularity was classified as popular.
We found that gzip-size-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.