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

@erlin-ai/pi-footer-wrap

v0.2.0

Published

Adaptive-wrapping footer for the pi coding agent: takes over the default footer and wraps extension statuses across lines instead of truncating them. No data is dropped.

Readme

pi-footer-wrap

CI License: MIT

English | 中文

pi coding agent 的自适应换行 footer。接管 pi 默认 footer,唯一的行为差异:放不下就换行,绝不截断。

pi 默认 footer 把所有扩展状态挤在一行,超出终端宽度就截断加 …——装了多个扩展后数据会悄悄丢失。本插件完整复刻默认 footer 的全部三行内容:

~/code/xxx (main) • 会话名
↑12k ↓3.4k R45k W1k CH88.8% $0.123 45.6%/200k (auto)     glm-5.3-flash • max
45.2 tok/s · mcp: 8 tools ready · lf: tracing on · …
  • 第 1 行:目录(~ 缩写)、git 分支、会话名
  • 第 2 行:累计 ↑输入 ↓输出 R/W 缓存、缓存命中率、成本、上下文占用(超 70%/90% 变色)、右侧模型名 + thinking 档位
  • 第 3 行起:所有扩展状态,按 key 字母序,装不下自动换行;单条超宽的字内硬换行——一个字都不少

数据来源与格式逐字段对齐 pi 0.85.x 默认 footer(sessionManager entries、getContextUsage、ctx.thinkingLevel、PI_EXPERIMENTAL、kimi (sub) 标记等),差异只有换行策略。

安装

pi install github:erlinerd/pi-footer-wrap      # GitHub
pi install npm:@erlin-ai/pi-footer-wrap     # npm
pi install /path/to/pi-footer-wrap          # 本地开发

新开会话即生效。

切换

/footer-wrap   # 随时切回 pi 默认 footer;再敲一次切回来

开发

npm install
npm test        # tsx --test
npx tsc --noEmit

License

MIT