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

uncruft

v1.0.0

Published

Linux space recovery tool — sweep the cruft, reclaim your disk

Readme

uncruft

sweep the cruft, reclaim your disk

Interactive Linux space recovery tool. Find what's eating your disk, preview what's safe to delete, clean with confidence.

  ██╗   ██╗███╗  ██╗ ██████╗██████╗ ██╗   ██╗███████╗████████╗
  ██║   ██║████╗ ██║██╔════╝██╔══██╗██║   ██║██╔════╝╚══██╔══╝
  ██║   ██║██╔██╗██║██║     ██████╔╝██║   ██║█████╗     ██║
  ██║   ██║██║╚████║██║     ██╔══██╗██║   ██║██╔══╝     ██║
  ╚██████╔╝██║ ╚███║╚██████╗██║  ██║╚██████╔╝██║        ██║
   ╚═════╝ ╚═╝  ╚══╝ ╚═════╝╚═╝  ╚═╝ ╚═════╝╚═╝        ╚═╝

Install

npm install -g uncruft

Usage

uncruft

Launches an interactive TUI. Type / to see all available commands.

Commands

| Command | Description | |---|---| | /scan | Scan known hotspots for space usage | | /scan large-files [size] | Find big files in home (default >100MB, e.g. /scan large-files 500m) | | /scan node_modules [path] [depth] | Find node_modules under a path (default ~, depth 4) | | /scan docker | Inspect Docker images, containers, volumes, build cache | | /details [id] | Show exactly what will be deleted and what is preserved | | /select [id\|all\|none] | Toggle a category for batch cleaning | | /clean [id] | Preview and clean a category | | /clean all | Preview and clean all selected categories | | /reserved | Analyze filesystem reserved space (advanced) | | /clear | Clear the screen and output | | /info | About uncruft and the developer | | /help | Show all commands | | /exit | Quit |

Interaction

After a scan the results list is focused — drive it with the keyboard:

| Key | Action | |---|---| | / | Move the highlight | | space | Select / deselect the highlighted item | | a | Select / deselect all | | d | Toggle inline details (what gets deleted) | | Enter | Clean / delete the selection (always previewed first) | | / | Jump to the command bar | | Esc | Return from the command bar to the list |

In the command bar, recalls previous commands and Tab completes the highlighted suggestion. Running containers in /scan docker are shown read-only and can't be selected.

What it scans

| Category | What | |---|---| | Dev | npm cache, pip cache, Gradle build cache, Maven repository, node_modules | | IDE | VS Code (cache, workspace storage), JetBrains (all IDEs), Android emulator snapshots, Android SDK system images | | System | apt package cache, system journal logs, snap cache, crash reports, temp files, thumbnails | | Browser | Chrome, Chromium, Firefox (cache only — bookmarks/passwords untouched) | | Docker | Unused images, stopped containers, unused volumes, build cache | | Large Files | On-demand scan for big files anywhere in home | | node_modules | On-demand scan for project dependency folders under a path |

Safety

  • Every clean operation shows a preview before deleting anything
  • Categorized as safe (regenerates automatically) or ⚠ review (manual verification recommended)
  • Large files, node_modules, and Docker items are permanent deletes — clearly flagged "not recoverable" in the preview
  • Items that need sudo are clearly flagged
  • Bookmarks, passwords, extensions, source code — never touched

Requirements

  • Linux (tested on Ubuntu 22.04 / 24.04)
  • Node.js 18.20+

Developer

M. Yousufyousuf-dev.com · LinkedIn · GitHub

License

MIT