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

@davstack/tui

v0.5.4

Published

Long-running terminal UI that spawns, owns, and surfaces the davstack daemons (vitest-server, logs-server).

Downloads

1,642

Readme

@davstack/tui

Long-running terminal UI that spawns, owns, and surfaces the davstack daemons (logs-server, vitest-server). One process to launch on cd, one quit to stop everything cleanly.

Install / run

From inside a davstack-shaped repo (one with .davstack/config/*.config.ts):

pnpm dlx @davstack/tui start

The TUI auto-discovers which daemons are enabled by scanning .davstack/config/<tool>.config.ts at the repo root, spawns each one, streams its output into a ring buffer, and shows live status pills.

Flags:

  • --no-color — disable ANSI colors (also honours NO_COLOR env).

Checking daemon health

davstack check probes every configured daemon and exits 0 if all are running, 1 if any are missing, 2 if no davstack configs exist. Cheap enough to run at the start of any agent workflow.

Keybindings

| Key | Where | What | |----------|------------|--------------------------------------------------| | 1-9 | any view | jump to that daemon's log view | | / | list view | move focus between rows | | enter | list view | drill into the focused daemon's log view | | s | list view | start/stop the focused daemon | | esc | log view | back to the daemon list | | c | log view | clear the current daemon's ring buffer | | q | any view | quit (confirms first if any daemon is running) | | ctrl-c | any view | same as q |

When q triggers confirm-on-quit, only y / n / esc are active.

Daemons

| Daemon | Default port | Purpose | |---------------------|--------------|---------------------------------------------------------| | logs-server | 7077 | Local log sink — Sentry-shaped store + diag queries. | | vitest-server | 5179 | Warm vitest daemon for fast unit/storybook reruns. |

Each is independently enabled by dropping its config under .davstack/config/. Daemons that aren't configured are skipped — the TUI only shows what you've opted into.

Troubleshooting

  • Port already in use: a daemon's row shows blocked :PORT instead of starting. Kill whatever else is on that port, then press s on the row.
  • Windows orphan handling: shutdown uses HTTP /shutdown then SIGTERM, finally SIGKILL via taskkill /F /T so bun grandchildren can't orphan.
  • Requires Node 24+: the launcher runs tsx under your installed Node. Older Node versions are unsupported.

See the monorepo root README for the broader davstack toolkit.