For Windows users - if you want to remove all the Node.js modules installed at once:
- Open a PowerShell window
- Go inside the node_modules folder (
cd node_modules
) - Run this command - "npm uninstall (Get-ChildItem).Name"
It will uninstall all the modules.