Is there any online utility or tool that helps me to find out the exact size of node packages before downloading or installing them or is there any way to check the size of git repositories so that i can check the size of the package from its git repository
Determine the package measurement in inches. For each measurement, start at the longest point, rounding each measurement to the nearest whole number. Multiply the package length (longest side of the package) by the width by the height. The result is the cubic size in inches.
Please reserve at least 6 GB for OS resources and npm On-Site appliance containers. Once installed, you can configure where registry data is stored on your server via the "Storage" paths on the "Settings" page of the admin web console (port 8800).
Npm's download stats are native by design: they are simply a count of the number of HTTP 200 responses we served that were tarball files, i.e. packages. This means the number includes: automated build servers. downloads by mirrors.
I've created a tool that does this. It's called npm-download-size. A cli version is also available.
Just type a package name and Go!:
Here is webpack analyzed:
The cli tool can be installed with:
npm i -g download-size
And used like this:
$ download-size lodash
[email protected]: 303.39 KiB
Here is an asciinema demo of the cli tool.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With