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

@matheusbbarni/pi-run-timer

v0.1.3

Published

A Pi extension that shows how long the current run has been going.

Readme

@matheusbbarni/pi-run-timer

npm Pi package

Live elapsed time for the current Pi run.

A compact timer sits above the editor:

Running • 3m9s
Worked • 3m9s

The clock starts when you submit a prompt, keeps ticking across retries and compaction, and holds the last duration when the run finishes. The next prompt starts it over.

Features

  • Shows Running • 3m9s while a run is in progress
  • Switches off the live widget when the run settles and leaves Worked • 3m9s in the transcript
  • Keeps running while async pi-subagents are still working, then records the full wall time
  • Also writes the same label to Pi's working message and footer status
  • Stays visible with themes such as amp-themes that hide the built-in working row
  • Writes a Worked • 3m9s line into the transcript when a run settles
  • Also records the time if you quit mid-run
  • No-ops the live widget in print/JSON mode; still prints the duration on stderr

Install

pi install npm:@matheusbbarni/pi-run-timer

From this repo:

pi -e ./pi-run-timer

Or as a local package:

pi install ./pi-run-timer

[!TIP] If Pi is already open, run /reload.

How it works

This is a widget, not Pi's built-in working row. Themes that replace the streaming chrome still show the timer because it renders above the editor.

Vanilla Pi also gets the same label on the working message and in the footer, so the duration is visible even without the widget.

When a run finishes, a muted Worked • 3m9s line is appended to the session. That entry is not sent to the model, so you can scroll back and compare run times.

Development

npm install
npm test
npm run typecheck