cost
Version:
A CLI tool for checking the size of files, after minification and gzipping.
17 lines (13 loc) • 630 B
Plain Text
Usage: cost [options] [path ...]
Available options:
--help, -? Display this help information
--bytes, -b Always display size in bytes (not kB, MB, etc.)
--simple, -s Hide details about whether files were gzipped or minified
--raw, -r Don't minify or gzip any files
[path] is zero or more arguments which specify local or remote (http) paths.
The size of these files will be displayed, after gzipping and/or minification
(if applicable). If zero paths are specified, the stdin is used instead.
Examples:
cost --bytes /path/to/file.css
cost https://example.com/jquery.js
echo hello world | cost