Find out which of your dependencies is causing bloat
With npm 2.x, it was easy to find which of your dependencies is taking a lot of space. You could just look at the size of each directory in node_modules
With npm 3 and flat deps this isn't as straightforward. This tool makes it easier.
Inspired from npm/npm/issues/10361
npm install -g cost-of-modules
Run cost-of-modules
in the directory you are working in.
--less
Show the biggest 10 modules
⭐ this repo
MIT © siddharthkp