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

@xynogen/pix-hunk

v0.2.8

Published

Pi tool — drive live Hunk diff reviews with ordered bulk operations

Readme

pix-hunk

Pi tool for driving a live Hunk diff review. One hunk call accepts ordered ops[], so an agent can inspect, navigate, comment, highlight, and reload a review without repeated shell commands or quoting.

Requirements

Launch Hunk's interactive TUI in another terminal. If hunk isn't found (~/.pi/agent/binary.json → ~/.pi/agent/bin → PATH), pix downloads the official modem-dev/hunk release on first use and verifies it against SHA256SUMS, with a visible status. This extension only calls hunk session *; it never starts hunk diff, show, patch, or another interactive command.

Tool

hunk({
  ops: [
    { action: "review" },
    { action: "navigate", file: "src/App.tsx", hunk: 2 },
    {
      action: "comment",
      file: "src/App.tsx",
      newLine: 42,
      summary: "Handle the empty state",
    },
    { action: "comment_list", type: "user" },
  ],
});

Supported actions: list, get, context, review, navigate, comment, comment_list, comment_rm, highlight, highlight_clear, and reload. Operations execute in order and every result is returned, including failures. Hunk JSON is converted to compact model-facing records:

review s1 Working tree
  selected src/App.tsx:h2
  src/App.tsx +12 -4
    h1 old=10-14 new=10-18
comment c17 src/App.tsx:new:42 h1
comment_list
note-81bc src/App.tsx:new:47 h2 @xynogen: Can this branch be removed?

IDs come directly from Hunk. Successful records omit redundant numbering and ok; failures use action error: message. TUI output auto-collapses to one colored summary row; expanded UI hides internal IDs and comment bodies while full model/audit data remains unchanged.

Model-facing output defaults to 10,000 characters. Set maxCharacters between 1,000 and 50,000 when more or less context is useful. Each operation receives a quota, so a large patch cannot hide later results. Full structured results remain available in tool details for inspection.

Scope ceiling

comment apply, STML markup, and comment clearing are intentionally omitted. Use Hunk's CLI directly until repeated demand justifies extending the schema.

Install

pi install npm:@xynogen/pix-hunk

Standalone and opt-in. @xynogen/pix-core does not bundle it. It needs the external Hunk CLI and a live review session.

Full distro

This package is part of Pix. The installer sets up Pi and the full distro. See Install for the notes for each OS.

# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
# Windows
irm https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.ps1 | iex

License

MIT. See LICENSE.