antonk52 / why-npm-i-so-long

Checks project's dependencies size AKA why npm install so long

Home Page:https://npm.im/why-npm-i-so-long

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why-npm-i-so-long

illustration of a person asking why npm install take so long?

Little utility to ease troubleshooting why installing npm dependencies takes too long.

What is "publish size" vs "install size"?

The "publish size" is the size of the source code published to npm. This number is easy to detect and should be pretty small.

The "install size" is the size your hard drive will report after running npm install. This includes the package, all of the dependencies, and its dependency's dependencies...and so on.

Use without installing

npx why-npm-i-so-long path/to/package.json

Installation

npm install --global why-npm-i-so-long

Usage

See install size of dependencies

why-npm-i-so-long path/to/package.json

See install size of devDependencies

why-npm-i-so-long path/to/package.json --dev

Acknowledgments

About

Checks project's dependencies size AKA why npm install so long

https://npm.im/why-npm-i-so-long


Languages

Language:JavaScript 100.0%