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

@synkro/ui

v0.2.4

Published

Dashboard UI for @synkro/core

Downloads

724

Readme

@synkro/ui

Dashboard UI for @synkro/core. Mount it on any HTTP endpoint to visualize your registered events and workflows in real time.

Screenshots

Dashboard

Overview of all registered events and workflows with paginated tables.

Dashboard

Event Detail

Click any event to view its message metrics — received, completed, and failed counts tracked via Redis.

Event Detail

Workflow Detail

Click any workflow to see a branching flow diagram with SVG connectors (green for success, red for failure) and a detailed steps table.

Workflow Detail

Features

  • Events overview — Paginated table of all standalone events with retry configuration
  • Event detail — Click an event to see received/completed/failed message counts (Redis-persisted)
  • Workflows overview — Paginated table of all workflows with step counts and callback badges
  • Workflow detail — Branching flow diagram with SVG bezier curves for onSuccess/onFailure paths, plus a detailed steps table
  • Stats at a glance — Total counts for events, workflows, and workflow steps
  • Pagination — 5 items per page with independent pagination for events and workflows
  • Framework-agnostic — Works with Express, Fastify, raw Node.js HTTP, or any framework that supports (IncomingMessage, ServerResponse) handlers
  • Zero dependencies — Self-contained HTML/CSS/JS dashboard with no external assets

Installation

npm install @synkro/ui

Usage

import { createDashboardHandler } from "@synkro/ui";
import { Synkro } from "@synkro/core";

const synkro = await Synkro.start({
  transport: "redis",
  connectionUrl: "redis://localhost:6379",
  events: [/* ... */],
  workflows: [/* ... */],
});

Express

import express from "express";

const app = express();

app.use("/synkro", createDashboardHandler(synkro, { basePath: "/synkro" }));

app.listen(3000);
// Dashboard available at http://localhost:3000/synkro

Raw Node.js HTTP

import http from "node:http";

const server = http.createServer(createDashboardHandler(synkro));

server.listen(3000);
// Dashboard available at http://localhost:3000

API

createDashboardHandler(synkro, options?)

Returns a standard Node.js HTTP request handler (IncomingMessage, ServerResponse) => void.

Parameters:

| Parameter | Type | Description | |---|---|---| | synkro | Synkro | A started Synkro instance | | options.basePath | string | Base path where the dashboard is mounted (default: "/") |

Served routes (relative to basePath):

| Route | Description | |---|---| | GET / | Dashboard HTML page | | GET /api/introspection | JSON payload with all registered events and workflows | | GET /api/events/:type | JSON payload with message metrics for a specific event |

License

MIT