@grimmbraten/bundlephobia-cli

3.2.1 • Public • Published


Access the incredible features provided by Bundlephobia from the comfort of your cli of choice.

Installation

yarn global add @grimmbraten/bundlephobia-cli
npm install -g @grimmbraten/bundlephobia-cli

Upgrade

yarn global upgrade @grimmbraten/bundlephobia-cli --latest

For more information, please refer to the yarn documentation.

npm update -g @grimmbraten/bundlephobia-cli

For more information, please refer to the npm documentation.

Usage

bp <package> [flag]

Examples

bp react

# ✔ react@17.0.2
# 6.9 kB minified
# 2.8 kB gzipped
bp webpack --dependencies

# ✔ webpack@5.38.1
# webpack-sources: 28.6 kB
# schema-utils: 22.3 kB
# tapable: 0.7 kB
# neo-async: 38.6 kB
# watchpack: 7.0 kB
# json-parse-better-errors: 0.7 kB
# acorn: 125.9 kB
# graceful-fs: 6.0 kB
# enhanced-resolve: 9.9 kB
# glob-to-regexp: 1.0 kB
# package-build-stats: 0.5 kB
# loader-runner: 9.2 kB
# terser-webpack-plugin: 0.1 kB
# chrome-trace-event: 2.3 kB
# @webassemblyjs/ast: 48.0 kB
# @webassemblyjs/helper-numbers: 2.1 kB
# @webassemblyjs/floating-point-hex-parser: 0.8 kB
# source-map: 0.2 kB
# @webassemblyjs/wasm-parser: 36.0 kB
# source-list-map: 0.3 kB
bp colors --raw

# ✔ colors@1.4.0
# {
#  assets: [ { gzip: 4139, name: 'main', size: 9547, type: 'js' } ],
#  dependencyCount: 0,
#  dependencySizes: [ { approximateSize: 12054, name: 'colors' } ],
#  description: 'get colors in your node.js console',
#  gzip: 4139,
#  hasJSModule: false,
#  hasJSNext: false,
#  hasSideEffects: true,
#  name: 'colors',
#  repository: 'https://github.com/Marak/colors.js',
#  scoped: false,
#  size: 9547,
#  version: '1.4.0'
# }

Uninstall

yarn global remove @grimmbraten/bundlephobia-cli
npm uninstall -g @grimmbraten/bundlephobia-cli

Package Sidebar

Install

npm i @grimmbraten/bundlephobia-cli

Weekly Downloads

1

Version

3.2.1

License

MIT

Unpacked Size

843 kB

Total Files

6

Last publish

Collaborators

  • grimmbraten