How can I check the size of npm packages before downloading?
1 answer
I have created a tool that does this. It's called npm-download-size . A cli version is also available .
Just enter the package name and Go !:
Analyzed by webpack:
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
Below is a demo of asciinema in cli tool.
0
source to share