Delete node_modules using a single command in React Native, Ionic, Cordova
Feb 21, 2021
Worried about node_modules deletion time ..? 🤯
Install npkill through npm package and run below command globally.
npm i -g npkill
Reference of below link,
After installation, go to the application structure path and run npkill.
npkill
As per the above screenshots, select with the cursor and press the space key to delete. The status will be shown as deleting as per the below screen.
Now after deleting the status, it will be shown as deleted.
Now go back and check app directory node_modules folder deleted within 1 minute.
TADA!😁
Thank you for reading this and do not forget to clap 😀