Front-end development quickly deletes the node_modules widget

foreword

In front-end development, we will generate a lot of node_modules, and it will take a long time to delete each time you right click.

I saw this gadget on Douyin today, come here to share

npkill

github repository

Currently the project has 5.8K stars

use

Install globally with npm i -g npkill

Then open cmd in the directory to be deleted and enter npkill, it will automatically find the node_modules directory.

Select the directory you want to delete, hit the space and you’re done!

This article is reprinted from https://www.xxhzm.cn/archives/664/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment