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

@benvargas/bb-plugin-project-activity-sort

v0.1.0

Published

A bb sidebar plugin that changes one thing: project sections are ordered by the most recent thread update in each project.

Downloads

93

Readme

Project Activity Sort for bb

A bb sidebar plugin that changes one thing: project sections are ordered by the most recent thread update in each project.

If project def contains the newest thread, def appears first. When a thread in xyz receives a newer updatedAt value, xyz moves above it.

Baseline-preserving behavior

The plugin renders bb's original sidebar list instead of drawing its own project or thread rows. As a result, unread indicators, activity spinners, row menus, spacing, collapse behavior, keyboard navigation, split interactions, search, and other left-nav behavior remain owned by bb and match the baseline system.

The only plugin behavior is:

  • Rank each project by max(thread.updatedAt) across its visible, non-archived threads.
  • Reorder bb's existing project-section entries to match that rank.
  • Preserve all non-project sidebar sections in their existing positions.
  • Keep bb's existing project order when update times tie.
  • Leave bb's implicit Personal project in the baseline Threads section.

A nested child thread contributes activity to the project section where bb displays its root thread tree.

Compatibility note

The plugin SDK provides bb's original list but does not currently expose a project-section comparator. This plugin therefore synchronizes bb's existing per-client section-order preference, bb.sidebar.sectionOrder, while delegating all rendering and interaction to the original list. It targets bb >=0.39 and plugin SDK >=0.4.8; a future bb change to that preference may require a small compatibility update.

Install from GitHub

bb plugin install \
  git:https://github.com/ben-vargas/bb-plugins.git@main \
  --plugin project-activity-sort

The plugin registers an exclusive sidebar-list provider named Projects by recent activity. If bb is pinned to another provider, select it under Settings → Appearance → Sidebar.

Develop and verify

From the monorepo root:

npm install
npm run ci
bb plugin install path:. --plugin project-activity-sort
bb plugin dev plugins/project-activity-sort