npkill 一个方便的npm 包清理工具
  TEZNKK3IfmPf 2023年11月14日 30 0
npm

npm 包很好用,但是占用空间太多了,npkill 提供了一个方便的工具,可以帮助我们查找安装的npm 包,以及进行清理

安装

npm install -g npkill

简单使用

  • 命令
npkill -d  ~/mylearning/
  • 效果

npkill 一个方便的npm 包清理工具

 

 

 

帮助命令

 NPKILL HELP 
   -c, --bg-color Change row highlight color. Available colors are:
                           blue, cyan, magenta, red, white and yellow. Default
                           is blue.
   -d, --directory Set directory from which to start searching. By
                           default, starting-point is .
   -D, --delete-all CURRENTLY DISABLED. Automatically delete all
                           node_modules folders that are found.
   -e, --show-errors Show error messages if any.
   -E, --exclude Exclude directories from search (directory list must
                           be inside double quotes "", each directory separated
                           by "," ) Example: "ignore1, ignore2"
   -f, --full Start searching from the home of the user (example:
                           "/home/user" in linux).
【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月14日 0

暂无评论

推荐阅读
  TEZNKK3IfmPf   2023年11月12日   29   0   0 npm
  TEZNKK3IfmPf   2023年11月13日   26   0   0 linuxnpmnode
  TEZNKK3IfmPf   2023年11月15日   86   0   0 npmvue
TEZNKK3IfmPf