Show HN: BunKill – npkill alternative built with Bun.js

I created BunKill as a faster alternative to npkill for cleaning up node_modules directories.

After working on multiple JavaScript projects, I noticed npkill could be slow when scanning large directory trees. So I built BunKill using Bun.js, which offers significant performance improvements.

Features:

• Ultra-fast scanning with optimized glob patterns

• Interactive CLI with pagination and keyboard navigation (↑/↓ to navigate, Space to select, Enter to delete)

• Accurate size calculation with fallback mechanisms

• Batch operations with multi-select

• Real-time progress display

• Smart filtering to skip . git, build artifacts, etc.

Quick start: npm install -g bunkill bunkill --dir ~/Projects

Or try without installing: bunx bunkill

The tool uses only Bun.js built-ins and TypeScript—no external runtime dependencies. It's fully tested on macOS with Linux/Windows support coming soon.

GitHub: https://github.com/codingstark-dev/bunkill License: MIT

I'd appreciate any feedback, especially from Linux/Windows users willing to test!

github.com

1 point

codingstark

9 hours ago


1 comment