Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 690 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 690 Bytes

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