gzip-size-cli

5.1.0 • Public • Published

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
    --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

Related

/gzip-size-cli/

    Package Sidebar

    Install

    npm i gzip-size-cli

    Weekly Downloads

    8,225

    Version

    5.1.0

    License

    MIT

    Unpacked Size

    4.06 kB

    Total Files

    4

    Last publish

    Collaborators

    • sindresorhus