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

gzipper

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gzipper

CLI for gzipping files.

  • 2.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
37K
decreased by-0.89%
Maintainers
1
Weekly downloads
 
Created
Source

gzipper

CLI for gzipping files.

How to use:

Install globally the package.

npm i gzipper -g

or locally to devDependencies

npm i gzipper -D

Run script from global scope or from your package.json as a script;

Globally usage.

gzipper [options] <path> [outputPath]

Locally usage.

  • add to scripts property in your package.json
  "scripts": {
    ...
    "gzipper": "gzipper"
  }
  • use gzipper with your build commands (e.g. Angular CLI)
  "scripts": {
    "build": "ng build && gzipper --verbose ./dist"
  }

Options:

  • -V, --version output the version number
  • -v, --verbose detailed level of logs
  • gl, --gzip-level gzip compression level 0 (no compression) - 9 (best compression)
  • gm, --gzip-memory-level amount of memory which will be allocated for compression 1 (minimum memory) - 9 (maximum memory)
  • gs, --gzip-strategy compression strategy 1 (filtered) - 2 (huffman only) - 3 (RLE) - 4 (fixed)
  • -h, --help output usage information

Contribution

I appreciate every contribution, just fork the repository and send the pull request with your changes.

Requirements

  • Node.js >= 8

Keywords

FAQs

Package last updated on 13 Mar 2019

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