Delete node_modules using a single command in React Native, Ionic, Cordova

Worried about node_modules deletion time ..? 🤯

waiting too long! Image credit : https://www.cpl.com/blog/2015/07/youre-working-too-hard-and-wasting-your-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 
npkill command

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.

Deleting node_moduels

Now after deleting the status, it will be shown as deleted.

Deleted

Now go back and check app directory node_modules folder deleted within 1 minute.

TADA!😁

Node_modules are deleted

Thank you for reading this and do not forget to clap 😀

--

--

Sanjana Human In Tech

A React Native front-end enthusiast and dedicated development engineer, eager to expand knowledge on development techniques and collaborate with others.