Clean node_modules for your Node App
npm install -g clean-node
yarn global add clean-node
OR
npm install --save-dev clean-node
yarn add --dev clean-node
and add as a script in your package.json
"scripts": {
"clean": "clean-node"
}
type clean-node
in your terminal
and that's it 😉