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

code-submit

v1.0.0

Published

Pi skill + TUI for generating HTML submission reports and opening GitHub draft PRs

Readme

code-submit

Project-local Pi skill and extension for submission-oriented workflows.

Included pieces

  • .agents/skills/code-submit/ — skill for implementing changes, generating .submissions/<change-slug>.html, and opening a GitHub draft PR
  • .pi/extensions/submissions-browser.ts — TUI browser for submission HTML files
  • scripts/test-submissions-browser.sh — interactive harness for exercising the TUI locally

Interactive TUI harness

Run:

./scripts/test-submissions-browser.sh

This will:

  • ensure .submissions/ exists
  • create a sample HTML submission if one is not present yet
  • launch pi
  • let you run /submissions interactively

TUI usage

Inside Pi:

/submissions

or

/submissions <directory>

What the TUI shows

  • a navigable list of submission HTML files on the left
  • a preview pane on the right with extracted title, key headings, and summary text
  • file metadata: size and last-modified timestamp

Controls

| Key | Action | |-----------------|---------------------------------------------| | / | Navigate the file list | | type any text | Filter by title, path, headings, or summary | | Backspace | Delete last filter character | | Ctrl+S | Cycle sort order: name → newest → largest | | Enter | Open selected submission in the browser | | Esc | Clear filter, or cancel if filter is empty |

Sort modes

The TUI cycles through three sort orders with Ctrl+S:

  1. name — alphabetical by filename (default)
  2. newest — most recently modified first
  3. largest — biggest file size first

Filter

Typing any printable character appends it to the filter query. The filter matches against the file path, report title, headings, and summary text. Matching is case-insensitive. The file list and preview update in real time as you type.

Skill usage

Invoke the skill explicitly:

/skill:code-submit

The skill will:

  1. implement the requested changes
  2. run tests and lint if configured (non-blocking)
  3. derive a <change-slug> from the task title (e.g. Fix cache bugfix-cache-bug)
  4. generate .submissions/<change-slug>.html
  5. create a branch and commit
  6. open a GitHub draft PR
  7. return a summary with branch, commit, PR URL, report path, and validation results