Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gzipped

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gzipped

Command line utility to calculate gzip compression savings

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
53
decreased by-15.87%
Maintainers
1
Weekly downloads
 
Created
Source

gzipped

Build Status Code Climate

Calculates gzip compression savings.

Installation

npm install -g gzipped

Usage

gzipped file.txt

Output:

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

This allows you to use it with remote resources:

curl http://www.example.com | gzipped

And the clipboard:

pbpaste | gzipped

etc.

Keywords

FAQs

Package last updated on 15 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc