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

@beequeue/sizer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beequeue/sizer

## Installation

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Sizer CLI

Installation

Install it from npm:

npm i -g @beequeue/sizer

Or (not recommended) download one of the binaries in the Releases tab.

Usage

Usage: sizer [options] <glob>

Arguments:
  glob                 File path glob to analyze

Options:
  -V, --version        output the version number
  -s, --sort <type>    Change how files are sorted in the output
                         (choices: "size-asc", "size-desc", "name-asc", "name-desc", default: "size-desc")
  -i, --ignore <glob>  Glob of files to exclude from output
  -B, --brotli         Compress using Brotli (slow!)
  --json               Output in JSON format
  -h, --help           display help for command
Example output
❯ sizer dist/**/*.js
Path                                          Size      Gzip     Diff%
----                                          ----      ----     -----
dist/assets/vendor.a06e18d4.js                144.79KB  47.58KB  -67%
dist/assets/index.2143eba7.js                 18.17KB   7.79KB   -57%
dist/sw.js                                    16.24KB   5.6KB    -66%
dist/assets/virtual_pwa-register.69ec1145.js  5.81KB    2.42KB   -58%
-----                                         ------    ------   ----
Total                                         185KB     63.38KB  -66%

FAQs

Package last updated on 02 Aug 2023

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