npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dinakars777/blackhole

v1.0.0

Published

🕳️ A visually satisfying CLI tool to scan and destroy heavy, unused node_modules folders.

Readme

blackhole 🕳️

A stunning, visually satisfying CLI tool to instantly scan your hard drive, locate heavy node_modules folders, and safely destroy them to reclaim gigabytes of disk space.

blackhole screenshot (Imagine a beautiful clack-based terminal here)

The Problem

As developers, we spin up dozens of experimental projects. Each npm install brings in hundreds of megabytes of node_modules. Very quickly, your hard drive fills up with gigabytes of unused dependencies from projects you haven't touched in 8 months.

blackhole makes cleaning your disk actually fun.

Features

  • Zero configuration required. Just aim it at a folder.
  • 🚀 Blazing Fast. Powered by fast-glob, it recursively scans massive directories without hanging.
  • 📊 Intelligent Mass Calculation. It calculates exactly how much space each folder takes up.
  • 🛡️ Interactive Multi-select. You choose exactly which folders get destroyed using a clean, beautiful CLI interface (powered by @clack/prompts).
  • 🔥 Satisfying Destruction. Permanently wipes gigabytes from your drive in seconds.

Usage

Simply run this command and pass the root directory you want to scan:

npx @dinakars777/blackhole ~/Projects

For the best experience, install it globally so you can use the short command anytime:

npm install -g @dinakars777/blackhole

# Now you can just use:
blackhole ~/Projects
blackhole .

How It Works

  1. It initiates a highly optimized recursive glob search through the target directory looking for node_modules.
  2. It pauses to calculate the exact size in bytes of everything inside those folders.
  3. It presents you with a sorted interactive checklist (largest folders first).
  4. You press Space to toggle folders for deletion.
  5. Press Enter to confirm.
  6. It displays the total space you will reclaim (e.g., 4.2 GB) and asks for one final confirmation.
  7. Upon typing y, those folders are forcefully and recursively deleted from your disk.

Contributing

Pull requests are welcome!

git clone https://github.com/dinakars777/blackhole.git
cd blackhole
npm install
npm run dev ~/TestDirectory

License

MIT