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

tourdiff

v3.4.2

Published

Local code walkthroughs for the code your AI agent wrote — TUI + webapp over a pinned git diff.

Readme

tour

Local code walkthroughs for the code your AI agent wrote.

When your agent finishes, its last step is to leave a tour — a walkthrough of its own diff. You step through the comments in a TUI or your browser. No GitHub round-trip.

Install

Homebrew (macOS, Linux):

brew install a9a4k/tap/tour

npm:

npm i -g tourdiff

Or any other Node package manager: pnpm add -g tourdiff · bun add -g tourdiff · yarn global add tourdiff.

Verify:

tour --version

Quickstart

cd your-repo
tour create --head HEAD              # tour the latest commit
tour                                  # open the tour (webapp on a desktop, TUI otherwise)
tour serve --open                     # force webapp + auto-open the browser

Tours live in .tour/<id>/ (auto-gitignored on first create). Each holds a tour.toml and an append-only tour-events.jsonl (event log per ADR 0036).

For agents

Teach your AI agent to leave a Tour every time you ask for a review:

npx skills add a9a4k/tour -g

Works across Claude Code, Codex, Cursor, Gemini CLI, OpenCode, and other agents in the skills.sh ecosystem. Once installed, asking your agent to "review my branch" or "walk me through this diff" produces a Tour rather than a wall of chat: comments anchored to specific lines, written so a teammate with no context can follow along, opened in your browser at a clickable URL.

For direct CLI use without the skill — e.g., in foreign repos with no global install:

bunx tourdiff create --head HEAD --json
bunx tourdiff comment <id> --file src/foo.ts --side additions --line 12 --body "..."

Or via npm:

npx -y tourdiff create --head HEAD --json

Commands

tour create --head <ref> [--base <ref>] [--title <s>] [--json]
tour comment <id> --file <f> --side additions|deletions --line <n[-m]> --body <b> [--author <a>] [--json]
tour comment <id> --batch -                          # read JSONL comments from stdin   (alias: annotate)
tour list [--status open|closed|all] [--json]
tour show <id> [--json]
tour close <id>                                       # mark closed; keeps files
tour delete <id>                                      # remove the tour
tour prune --older-than 30d                           # bulk-delete by age
tour tui [<id>]                                       # explicit TUI launch
tour serve [--port 8687] [--open] [<id>]              # webapp (8687 = TOUR on T9, auto-falls-back on collision)

--head WIP snapshots uncommitted work to a synthetic commit so the diff stays pinned.

License

MIT — see LICENSE.