Size of npm packages in ember project

Is there a way to list out an npm package’s size? I have a few addons that I would like to investigate, but was looking for a clean way to get it’s contribution to the overall size of my project.

I’m looking for a solution as well. Right now, I just compare the production build size before and after adding a new dependency.

I made a tool to solve a similar problem i.e. find the size of an npm package before actually installing it. I guess it should work for ember too — https://cost-of-modules.herokuapp.com

1 Like

Wow that is awesome! Super impressed.

Thanks! Glad it was helpful.