Skip to content

nanlei2000/npkill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npkill

Find and delete node_modules in target dir.

Install

go install github.com/nanlei2000/npkill@latest

Example output

➜  npkill l
path                                                                 file_count    size
/Users/lielienan/Project/esbuild/require/yarnpnp/bar/node_modules    2             20 B

Manual

➜  npkill -h
NAME:
   npkill - delete node modules

USAGE:
   npkill [global options] command [command options] [arguments...]

COMMANDS:
   list, l  list all node modules folders
   del, d   delete node modules folder
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help