Skip to content

transitive-bullshit/bundle-phobia-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bundle-phobia-cli

npm Build Status codecov

Cli for the node BundlePhobia Service

About

BundlePhobia is a tool to help you find the cost of adding a npm package to your bundle. It enables you to query package sizes.

Installation

Just use npm install -g bundle-phobia-cli and you're good to go

Usage

For now, just bundle-phobia <package-name> and you will get it's stats.

Detailed Usage

Usage: bundle-phobia <package-name>

Options:
  --range, -r         Get a range of version (0 for all, 8 by default)  [number]
  --json, -j          Output json rather than a formater string        [boolean]
  --size, -s          Output just the module size                      [boolean]
  --gzip-size, -g     Output just the module gzip size                 [boolean]
  --dependencies, -d  Output just thenumber of dependencies            [boolean]
  -h, --help          Show help                                        [boolean]

About

Cli for the node BundlePhobia Service

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%