All Projects → sindresorhus → Gzip Size Cli

sindresorhus / Gzip Size Cli

Licence: mit
Get the gzipped size of a file or stdin

Programming Languages

javascript
184084 projects - #8 most used programming language

gzip-size-cli

Get the gzipped size of a file or stdin

Install

$ npm install --global gzip-size-cli

Usage

$ gzip-size --help

  Usage
    $ gzip-size <file>
    $ cat <file> | gzip-size

  Options
    --level  Compression level [0-9] (Default: 9)
    --raw    Display value in bytes

  Examples
    $ gzip-size unicorn.png
    192 kB
    $ gzip-size unicorn.png --raw
    192256

Related

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].