1. gzip-size-cli
Get the gzipped size of a file or stdin
gzip-size-cli
Package: gzip-size-cli
Created by: sindresorhus
Last modified: Sat, 17 Jun 2023 00:08:00 GMT
Version: 5.1.0
License: MIT
Downloads: 13,942
Repository: https://github.com/sindresorhus/gzip-size-cli

Install

npm install gzip-size-cli
yarn add gzip-size-cli

gzip-size-cli

Get the gzipped size of a file or stdin

Install

 npm install --global gzip-size-cli

Usage

$ gzip-size --help

  Usage
    $ gzip-size <file>
    $ cat <file> | gzip-size

  Options
    --level             Compression level [0-9] (Default: 9)
    --raw               Display value in bytes
    --include-original  Include original size

  Examples
    $ gzip-size unicorn.png
    192 kB
    $ gzip-size unicorn.png --raw
    192256
    $ gzip-size unicorn.png --include-original
    392 kB → 192 kB

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin