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

@esanchma/bluetab

v0.1.2

Published

Minimal MV3 brotab-like tab CLI for Chromium browsers.

Readme

bluetab

Minimal MV3 reimplementation of the brotab subset used by this project. The CLI binary is named bt.

Install from npm

npm install -g @esanchma/bluetab

The npm package depends on bun, so users do not need a separate Bun installation for normal npm-based installs.

Then load the unpacked extension from the global package directory, for example:

$(npm root -g)/@esanchma/bluetab/extension

After loading the extension, install the native messaging manifest with the extension id shown by the browser:

bt install <extension-id>

Supported surface

  • bt --help
  • bt install <extension-id|chrome-extension://extension-id/>
  • bt clients
  • bt windows
  • bt list
  • bt active
  • bt query +active|-active +pinned|-pinned +muted|-muted -title GLOB -url GLOB
  • bt activate a.<windowId>.<tabId>
  • bt activate reading a tab id from stdin, compatible with pipelines such as bt list | ... | bt activate
  • bt close a.<windowId>.<tabId> [...]
  • printf '%s\n' https://example.com | bt open a[.<windowId>|.0]

Unsupported by design: text, html, words, index, search, and other brotab commands outside the MVP.

Build from source

bun install
bun run check
bun run build

The compiled binary is dist/bt.

Native messaging setup

bt install writes io.github.bluetab.json to the common per-user Chromium native messaging host directories, including Brave, Chrome, Chrome Beta, Chromium, Microsoft Edge, and Vivaldi.

The host name must stay io.github.bluetab, matching extension/service_worker.js.

Runtime shape

The MV3 service worker opens a native messaging connection. The bt process then acts as a small daemon on $XDG_RUNTIME_DIR/bluetab.sock (usually /run/user/<uid>/bluetab.sock). CLI invocations connect to that socket and forward one command to the extension.