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.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
87
increased by141.67%
Maintainers
1
Weekly downloads
 
Created
Source

gzipped

Calculates the GZIP compression savings for plain text strings.

Installation

npm install -g gzipped

Usage

cat file.txt

Outputs:

Original size: 446 B
Compressed size: 287 B
Compression ratio: 64.35%

Usage with STDIN

The tool supports input from STDIN, allowing you to get stats for a file:

cat file.txt | gzipped

A remote resource:

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

From the clipboard:

pbpaste | gzipped

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