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

junkkill

v0.0.2

Published

Safe npkill-like cleaner for large junk folders and files

Readme

junkkill

npm version npm downloads node license GitHub stars

Safe, interactive junk cleaner for development folders.

junkkill scans a directory tree for heavy targets (like node_modules, venv, cache folders, and large files), then deletes only what you explicitly choose.

npm Package

Published name: junkkill

Features

  • Interactive selection by index or range (1,4-7)
  • Quick select everything using all
  • Large file scanning with configurable threshold
  • Colorized terminal output with step-by-step flow
  • JSON mode for scripting and automation
  • Dry-run mode to preview deletion safely

Safety

  • Only items found in the current scan can be selected
  • Every selected path is revalidated before deletion
  • Deletion is blocked for scan root and protected system paths
  • Symbolic links are blocked
  • Double confirmation before delete (DELETE and y/N, unless --yes)

Install

# global install
npm install -g junkkill

# or run directly without install
npx junkkill --help

Quick Start

# scan current directory
junkkill

# custom thresholds
junkkill --min-dir-mb 20 --min-file-mb 20

# custom root
junkkill --root "/home/user/workspace"

# safe preview
junkkill --dry-run

Selection Input

At the selection prompt, you can enter:

  • 3 for a single item
  • 1,4,8 for multiple items
  • 2-6 for a range
  • 1,3-5,9 for mixed selection
  • all to select every listed result

Leave input empty to cancel without deleting.

CLI Options

-d, --root <path>        Root directory to scan (default: current directory)
--min-dir-mb <n>         Minimum size for target directories (default: 100)
--min-file-mb <n>        Minimum size for large files (default: 100)
--targets <csv>          Comma-separated target directory names
--exclude <csv>          Comma-separated directory names to skip while scanning
--no-files               Disable large file scanning
--max-results <n>        Limit number of listed results (default: 1000)
--dry-run                Simulate deletion without removing anything
-y, --yes                Skip final y/N confirmation (still asks for DELETE)
--json                   Print scan output as JSON and exit
-h, --help               Show help

Examples

# JSON output for scripts
junkkill --json

# scan only selected target names
junkkill --targets "node_modules,.venv,venv,__pycache__,dist"

# skip specific directories
junkkill --exclude ".git,.idea,archive"

# lower thresholds for small test projects
junkkill --min-dir-mb 0.01 --min-file-mb 0.001 --dry-run

License

MIT