git404hub

what is jsize fr?

gaearon/jsize — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2017-07-27

3JavaScriptAudience · developerComplexity · 1/5DormantSetup · easy

tl;dr

A command-line tool that shows the real size of any npm package, both minified and gzip-compressed, before you commit to installing it.

vibe map

mindmap
  root((jsize))
    What it does
      Shows package size
      Minified size
      Gzip size
      Per file breakdown
    Tech stack
      Node CLI
      npm registry
    Use cases
      Compare packages
      Audit dependencies
      Check peer deps
    Audience
      Frontend developers
      Team leads
    Features
      Scoped packages
      Verbose mode
      Multiple packages at once

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Check how much a package like jquery or lodash will add to your app before installing it.

VIBE 2

Compare two competing packages to pick the lighter one for a faster app.

VIBE 3

Audit a project's dependencies to find which ones are bloating the bundle.

VIBE 4

Check a package together with its peer dependencies, like react-dom with react, to see their combined size.

what's the stack?

Node.jsCLInpm

how it stacks up fr

gaearon/jsizeamarjitjim/browserpilotandershaig/cssess
Stars333
LanguageJavaScriptJavaScriptJavaScript
Last pushed2017-07-272011-08-19
MaintenanceDormantDormant
Setup difficultyeasymoderateeasy
Complexity1/53/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

prompts (copy fr)

prompt 1
Write a short script that uses jsize to compare the bundle size of lodash and lodash-es.
prompt 2
Explain how to add a pre-commit check that runs jsize on any newly added npm dependency.
prompt 3
Help me set up jsize in my CI pipeline to fail a build if a new dependency adds more than 50kb gzipped.
prompt 4
Show me how to use jsize's --verbose flag to see the size difference between raw, minified, and gzip stages.

Frequently asked questions

what is jsize fr?

A command-line tool that shows the real size of any npm package, both minified and gzip-compressed, before you commit to installing it.

What language is jsize written in?

Mainly JavaScript. The stack also includes Node.js, CLI, npm.

Is jsize actively maintained?

Dormant — no commits in 2+ years (last push 2017-07-27).

How hard is jsize to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is jsize for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.