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

@say8425/diffdeck

v1.4.0

Published

Local git diff viewer — browse working-tree and branch diffs in your browser

Readme

@say8425/diffdeck

A local git diff viewer. Run it in any git repository to browse your working-tree changes — or compare them against any branch — in your browser, with syntax highlighting, a file tree, and inline image diffs.

Usage

bunx @say8425/diffdeck

Run it from inside a git repository. It starts a local server on 127.0.0.1:49573 (override with --port) and opens the viewer in your default browser.

Options

| Flag | Description | | ------------------ | ------------------------------------------------------------ | | --port <n> | Port to serve on (default: $DIFFDECK_PORT or 49573) | | --no-open | Do not open a browser automatically (prints the URL instead) | | --untracked | Start with untracked files included | | --watch | Start with watch (auto-refresh) on | | --no-flatten | Start with the file tree un-flattened (flatten is on) | | --tree-right | Start with the file tree on the right | | --split | Start in split view (unified is the default) | | --hide-tree | Start with the file tree hidden | | --fold-with-tree | Start with sidebar directory collapse synced to diff folds | | -h, --help | Show help | | -v, --version | Show version |

The view flags (--untracked, --watch, --no-flatten, --tree-right, --split, --hide-tree, --fold-with-tree) set the initial state for this launch only — they don't change your saved preferences, and the in-app toggles reflect the launched state.

Environment

  • DIFFDECK_PORT — sets the default port (equivalent to --port).

The server issues an access token on first run and caches it under ~/.cache/diffdeck/ (or $XDG_CACHE_HOME/diffdeck/ if set), so the printed URL keeps working across restarts without re-authenticating.

Learn more

See the project repository for architecture, development setup, and provenance details.