gzip-size-cli
Get the gzipped size of a file or stdin
Last updated a year ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gzip-size-cli 
SYNC missed versions from official npm registry.

gzip-size-cli Build Status

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

License

MIT © Sindre Sorhus

Current Tags

  • 3.0.0                                ...           latest (a year ago)

4 Versions

  • 3.0.0                                ...           a year ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 1
This Week 12
This Month 45
Last Day 11
Last Week 30
Last Month 139
Dependencies (3)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |