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

@queuert/dashboard

v0.7.0

Published

Embeddable web dashboard for Queuert job queue observation

Readme

@queuert/dashboard

npm version license stars last commit

Experimental - API may change between minor versions.

Embeddable web dashboard for Queuert - a TypeScript library for database-backed job queues. Provides a read-only observation UI for listing, filtering, and inspecting job chains and jobs.

What does this do?

A self-contained dashboard that mounts as a single fetch handler on your existing server. No external build steps, no runtime dependencies beyond queuert.

  • Chain list - Browse chains with status badges, type filtering, and ID search
  • Chain detail - Full job sequence, blocker relationships, and blocking chains
  • Job list - Cross-chain job view with status/type filtering
  • Job detail - Input/output data, error messages, lease info, continuation links

Read-only — no mutations (retry, cancel, delete).

Requirements

  • Node.js 22 or later
  • TypeScript 5.0+ (recommended)

Installation

npm install @queuert/dashboard

Peer dependencies: queuert

The state adapter must implement the dashboard listing methods (listJobChains, listJobs, listBlockedJobs). The PostgreSQL and SQLite adapters support these.

Quick Start

import { createClient, createConsoleLog, defineJobTypeRegistry } from "queuert";
import { createPgStateAdapter } from "@queuert/postgres";
import { createDashboard } from "@queuert/dashboard";

const jobTypeRegistry = defineJobTypeRegistry<{
  "send-email": { entry: true; input: { to: string }; output: { sent: true } };
}>();

const stateAdapter = await createPgStateAdapter({ stateProvider: myPgProvider });

const client = await createClient({
  stateAdapter,
  registry: jobTypeRegistry,
  log: createConsoleLog(),
});

const dashboard = createDashboard({ client });

// Use with any server that accepts a fetch handler
serve({ fetch: dashboard.fetch, port: 3000 });

The dashboard serves both the API and pre-built SolidJS frontend from the same fetch handler.

Sub-path mounting

When mounting the dashboard behind a reverse proxy or framework router at a sub-path, set basePath to the mount prefix:

const dashboard = createDashboard({
  client,
  basePath: "/internal/queuert",
});

All routing, asset loading, and client-side navigation will use the configured base path. Omit basePath (or pass '') when mounting at the root.

Authentication

The dashboard has no built-in auth. Add authentication middleware before the dashboard handler:

const server = serve({
  fetch: (request) => {
    if (!isAuthorized(request)) return new Response("Unauthorized", { status: 401 });
    return dashboard.fetch(request);
  },
  port: 3000,
});

API Reference

For the full API reference with types and signatures, see the @queuert/dashboard reference.

Documentation

For full documentation and examples, see the Queuert documentation.