npkill searches your machine for all the node_modules and gives you an option to delete them to save space. You can choose to remove the ones for inactive projects.
Try out npx npkill
🎉 Interested in Frontend or Indie-hacking?
I talk about the latest in frontend, along with my experience in building various (Indie) side-projects