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

github-watch

v0.1.0

Published

CLI utility that monitors GitHub pull requests across local repositories

Readme

GitHub PR Watcher

A CLI tool that monitors GitHub pull requests across your local repositories. It discovers repos, lets you pick which contributors and branches to watch, and polls on an interval. Optionally auto-approves and auto-merges PRs that are ready.

Installation

npm install -g github-watch

Or run it directly without installing:

npx github-watch

Requires Node.js 18+ and the GitHub CLI (gh).

Quick Start

If installed globally:

# Watch repos starting from the current directory
github-watch

# Watch all repos under a specific path
github-watch ~/Source/MyOrg

# Auto-approve and auto-merge
github-watch --approve --merge

# Preview what would happen without taking action
github-watch --approve --merge --dry-run

Or with npx (no install required):

npx github-watch ~/Source/MyOrg
npx github-watch --approve --merge
npx github-watch --approve --merge --dry-run

What It Does

  1. Verifies gh is installed and authenticated
  2. Discovers git repos from your current directory (or a path you provide)
  3. Presents interactive menus to select repos, target branches, and contributors
  4. Polls GitHub for open PRs on your chosen interval
  5. Displays PRs in a clean, aligned terminal layout with color-coded status
  6. Optionally approves pending PRs and merges approved ones that pass checks

Your selections can be saved and automatically restored on the next run.

Flags

| Flag | Description | |---|---| | --path <path> | Starting directory for repo discovery | | --approve | Auto-approve matching PRs pending review | | --merge | Auto-merge approved PRs that pass all checks | | --dry-run | Run without taking any actions | | --depth <n> | Limit directory depth for repo discovery | | --clear | Clear saved settings before starting |

Documentation

See docs/usage.md for the full walkthrough covering authentication, repo discovery, branch filtering, contributor selection, the polling loop, and saved settings.

Tech Stack

  • Node.js (ES modules)
  • Commander.js for CLI parsing
  • Chalk for terminal styling
  • Custom interactive menus (no external prompting libraries)
  • GitHub CLI (gh) for all GitHub operations

Contact

Have an idea, feature request, or bug report? Pull requests are always welcome, but if you'd rather just reach out directly, feel free to get in touch.

Fred Lackey
[email protected]
https://fredlackey.com