Skip to content

moroii69/nmclean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nmclean

CLI tool to scan for node_modules directories, calculate their sizes, and interactively delete selected ones.

  • Scans filesystem recursively for node_modules directories
  • Interactive terminal UI for selection and deletion
  • Supports dry-run mode
  • Safe deletion with confirmation

Flags

  • -p, --path string: Path to scan (default ".")
  • -d, --dry-run: Dry run mode (default false)

Controls

  • Arrow keys or j/k: Navigate
  • Space: Select/deselect
  • a: Select all
  • Enter: Confirm deletion
  • q or Ctrl+C: Quit

Examples

Scan current directory:

nmclean

Scan specific path:

nmclean -p /path/to/project

Dry run:

nmclean -d

About

CLI to scan, size, and interactively delete node_modules directories.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages