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
Asked
Active
Viewed 2,306 times
6
-
Possible duplicate of [How do I view the size of npm packages?](https://stackoverflow.com/questions/40642008/how-do-i-view-the-size-of-npm-packages) – Fabian Lauer Nov 18 '17 at 15:01
1 Answers
6
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
lodash@4.17.4: 303.39 KiB
Here is an asciinema demo of the cli tool.

arve0
- 3,424
- 26
- 33