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

@glidemq/dashboard

v0.2.0

Published

Web dashboard for glide-mq queue monitoring and management

Readme

@glidemq/dashboard

Web dashboard for monitoring and managing glide-mq queues. Express middleware that serves a real-time UI and REST API.

Installation

npm install @glidemq/dashboard

Peer dependencies: glide-mq >= 0.8.0, express ^4 || ^5

Quick Start

import express from 'express';
import { Queue } from 'glide-mq';
import { createDashboard } from '@glidemq/dashboard';

const app = express();
const queue = new Queue('payments', { connection: { addresses: [{ host: 'localhost', port: 6379 }] } });

app.use('/dashboard', createDashboard([queue]));
app.listen(3000);
// Open http://localhost:3000/dashboard

Options

createDashboard(queues: Queue[], opts?: DashboardOptions): Router

| Option | Type | Description | |--------|------|-------------| | queueEvents | QueueEvents[] | Instances to stream real-time SSE events from | | readOnly | boolean | When true, all mutation routes return 403 | | authorize | (req, action) => boolean \| Promise<boolean> | Custom auth callback for mutation routes |

Authorization

Every mutation endpoint (POST/DELETE) calls the authorize callback with the Express request and an action string before executing. Return false to deny (403).

Action strings: queue:pause, queue:resume, queue:obliterate, queue:drain, queue:retryAll, queue:clean, job:remove, job:retry, job:promote

// Read-only mode - no mutations allowed
app.use('/dashboard', createDashboard(queues, { readOnly: true }));

// Custom auth - check session cookie
app.use('/dashboard', createDashboard(queues, {
  authorize: (req, action) => {
    const user = req.session?.user;
    if (!user) return false;
    // Only admins can obliterate
    if (action === 'queue:obliterate') return user.role === 'admin';
    return true;
  },
}));

API Endpoints

Read

| Method | Path | Description | |--------|------|-------------| | GET | / | Dashboard UI | | GET | /api/queues | All queues with job counts | | GET | /api/queues/:name/jobs | Jobs by state (query: state, start, end) | | GET | /api/queues/:name/job/:id | Single job with logs and state | | GET | /api/queues/:name/workers | Connected workers | | GET | /api/queues/:name/schedulers | Job schedulers (repeatable jobs) | | GET | /api/queues/:name/dlq | Dead letter queue jobs | | GET | /api/queues/:name/metrics | Completed/failed throughput counts | | GET | /api/queues/:name/search | Search jobs (query: name, state, data, limit) | | GET | /api/events | SSE event stream (real-time) |

Mutations (guarded by readOnly / authorize)

| Method | Path | Description | |--------|------|-------------| | POST | /api/queues/:name/pause | Pause queue | | POST | /api/queues/:name/resume | Resume queue | | POST | /api/queues/:name/obliterate | Destroy queue and all data | | POST | /api/queues/:name/drain | Remove all waiting jobs | | POST | /api/queues/:name/retry-all | Bulk retry failed jobs | | POST | /api/queues/:name/clean | Clean old completed/failed jobs | | DELETE | /api/queues/:name/jobs/:id | Remove a job | | POST | /api/queues/:name/jobs/:id/retry | Retry a failed job | | POST | /api/queues/:name/jobs/:id/promote | Promote a delayed job |

Features

  • Queue overview with aggregated job counts
  • Job inspector with data, logs, and details tabs
  • Real-time event stream via SSE
  • Workers monitoring panel
  • Job schedulers view
  • Dead letter queue panel
  • Throughput metrics
  • Job search by name
  • Bulk actions: drain, retry all, clean
  • Per-job actions: retry, remove, promote
  • Dark theme, responsive layout
  • Express 4 and 5 compatible

License

Apache-2.0