npkill is a command-line filesystem scanner and disk space recovery utility. It is designed to identify and delete large dependency folders, specifically targeting node_modules directories created by the npm package manager, to reclaim storage space across multiple projects.
The tool provides an interactive terminal interface that allows for the discovery and identification of dependency folders along with their total disk size and modification dates. Users can select directories for individual or bulk deletion using keyboard inputs.
The utility includes capabilities for recursive filesystem crawling, search path restriction, and directory search filtering to narrow results and exclude hidden directories. It calculates directory sizes and removes target folders using native filesystem operations.