gzip-sizes

1.0.1 • Public • Published

gzip-sizes

A tiny CLI tool to print the gzipped sizes of files matching a glob pattern.

Usage

gzip-sizes [...pattern] [options]

Options:

-d, --dir        Find within a directory
-s, --sort       Sort by size or name  (default: size)

Examples:

# show the gzipped size of all JS files:
gzip-sizes **/*.js

# show the size of all CSS files within ./build, in descending order of size:
gzip-sizes *.css --dir build --sort size-

# find large JS files in your npm dependencies:
gzip-sizes **/node_modules/**/*.js --sort size-

Readme

Keywords

none

Package Sidebar

Install

npm i gzip-sizes

Weekly Downloads

0

Version

1.0.1

License

Apache 2.0

Unpacked Size

14.5 kB

Total Files

4

Last publish

Collaborators

  • developit