Package Phobia

What is Package Phobia?

Package Phobia reports the size of an npm package before you install it.

This is useful for inspecting potential dependencies or devDependencies without using up precious disk space or waiting minutes for npm install.

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 is typically very 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.

See the README for more info.

Read more here: Source link