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

gh-debt

v0.1.4

Published

GitHub CLI extension for tracking and managing technical debt — PRs awaiting review, assigned issues, and stale items across all your repositories, prioritized by date

Readme

gh-debt

A GitHub CLI extension for tracking and managing technical debt on GitHub — PRs awaiting your review, issues assigned to you, and stale review items across all your repositories. Prioritized by last-updated date so nothing slips through the cracks.

Installation

gh extension install ThePlenkov/gh-debt

The bundle in dist/ is committed, so the extension runs as soon as it is installed — no build step and no dependencies at runtime.

To work on the extension from a clone:

git clone https://github.com/ThePlenkov/gh-debt
cd gh-debt
npm ci
npm run build

Interactive UI

gh debt          # on a terminal
gh debt -i       # explicitly, even if you normally script it

Navigation, not a split view. One level is on screen at a time, at full width, and you drill down into it and back out:

Sources  All / PRs / Issues, with counts   →  enter
Items    the list, filterable              →  enter
Detail   everything about one item

A split layout leaves the middle column too narrow to hold a repo and a title at once, which is why the list gets the whole width here. The header shows where you are — Sources › PRs › theplenkov-forks/zed#1 — and the footer shows the keys for the current level.

| Key | Action | |-----|--------| | ↑ ↓ or k j | Move the selection | | ↵ | Open the current level | | esc | Back up one level | | 1 2 3 | Jump straight to All / PRs / Issues | | / | Filter by repo and title (esc clears) | | g G | Jump to the first / last item | | b | Open the item with gh browse | | r | Re-fetch | | q | Quit |

The UI is a full-screen alt-buffer render, so it restores the terminal on exit. When stdin or stdout is not a TTY — a pipe, a redirect, CI — gh debt prints the plain table instead, and -i fails with an explanation rather than taking over the screen.

Commands

| Command | Description | |---------|-------------| | gh debt list | Show all open PRs and issues requiring your attention, sorted by last updated | | gh debt prs | Show only PRs needing your review (oldest first) | | gh debt issues | Show only issues assigned to you (oldest first) | | gh debt stats | Summary of outstanding debt by repository and type | | gh debt stale | Show items not updated in N days (default: 7) |

Examples

# List all debt, oldest first
gh debt list

# Show PR debt only
gh debt prs --limit 20

# Show issues assigned to you, older than 2 weeks
gh debt issues --stale 14

# Summary stats by repo
gh debt stats

# Stale items (not updated in 7+ days)
gh debt stale

# Machine-readable output
gh debt list --format json
gh debt stats --format md

How it works

Data comes from gh api graphql (a search query), so authentication, proxies and GitHub Enterprise behave exactly as they do for gh itself. The package has no runtime dependencies — React and ink are bundled into the interactive chunk at build time, and the plain CLI stays ~12 kB.

License

MIT