gzipped
v0.0.5
Published
Command line utility to calculate gzip compression savings
Maintainers
Readme
gzipped
Calculates gzip compression savings.
Installation
npm install -g gzippedUsage
gzipped file.txtOutput:
Original size: 446 B
Compressed size: 287 B
Compression ratio: 64.35%You can pass in any type of file - it's not limited to plain text.
Usage with STDIN
You can also use gzipped with input from STDIN, i.e:
cat file.txt | gzippedThis allows you to use it with remote resources:
curl http://www.example.com | gzippedAnd the clipboard:
pbpaste | gzippedetc.


