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

@qmilab/lodestar-viewer

v0.5.0

Published

The read-side Governing UI — a local, read-only web viewer over the Lodestar event log. Renders the live epistemic chain and trust report in the browser. Part of Lodestar, the trust layer for AI agents.

Readme

@qmilab/lodestar-viewer

The read-side Governing UI for Lodestar, the trust layer for AI agents.

A local, strictly read-only web viewer over the Lodestar event log. It projects the append-only log into the epistemic chain — what the agent observed, claimed, believed, decided, and what policy allowed — and renders it live in your browser, with drill-down, an event-type filter, a live tail, and a read-only view of pending approvals.

It is the interactive sibling of lodestar report: same read side (projectChain() + renderReport()), in a browser instead of a one-shot markdown file.

Usage

# Serve the default log root (<cwd>/.lodestar/events) on http://127.0.0.1:4319
lodestar view

# Open a specific session in the browser
lodestar view session-1779551238212 --open

# Point at another log root / port
lodestar view --log-root ./.lodestar/events --port 8080

Then open the printed URL. Pick a session on the left to see:

  • Chain — observations → claims → evidence → beliefs → decisions → actions → firewall transitions, each expandable to its raw envelope.
  • Report — the same markdown lodestar report produces (one-click download).
  • Events — the raw envelope stream, filterable by type, with a live tail toggle (Server-Sent Events).
  • Approvals — pending approval.requested@1 items, read-only.

Read-only by design

This viewer never writes the event log and exposes no mutation route. Pending approvals are shown for visibility only — to resolve them, use lodestar approve grant|deny (or the separate write-side Governing UI). It binds to 127.0.0.1 by default; the log can carry secret-sensitivity beliefs, so localhost is the trust boundary. Do not expose it on a non-loopback interface without an auth layer in front.

Library API

import { startViewer } from "@qmilab/lodestar-viewer"

const viewer = await startViewer({ logRoot: "./.lodestar/events", port: 0 })
console.log(viewer.url) // http://127.0.0.1:<ephemeral>
// ... later
await viewer.stop()

Also exports listSessions, pendingApprovals, readAllEvents, and toWireProjection for callers that want the read-side helpers directly.

License

Apache-2.0