Giter Site home page Giter Site logo

grimmbraten / bundlephobia-cli Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 129 KB

Analyze npm package sizes from the comfort of your cli

Home Page: https://www.npmjs.com/package/@grimmbraten/bundlephobia-cli

License: MIT License

JavaScript 100.00%
node bundlephobia terminal yarn npm package

bundlephobia-cli's Introduction


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

#[email protected]
# 6.9 kB minified
# 2.8 kB gzipped
bp webpack --dependencies

#[email protected]
# 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

#[email protected]
# {
#  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

bundlephobia-cli's People

Contributors

grimmbraten avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

rdwz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.