With this you can see how much each node_modules directory occupies:
find . -name "node_modules" -type d -prune | xargs du -chs
It will also tell you the total at the end of the command
I like it !! Let me update the article with this in there. Definitely helpful 🙌
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.