How could I find out how much storage all my development projects' nodeJS modules are taking up?
Maybe there is a better way, but I have all the projects within a directory. I thought maybe using
find /path/to/JS/projects -name "node_modules" might be a good place to start. How would I constrain the depth (so as to not calculate node_mods for dependencies) and figure out the sizes of the directories' contents and add them up?