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

@oisasoje/gloo-receiver

v1.1.1

Published

Telemetry receiver and WebSocket broadcaster for Gloo request tracing.

Readme

@oisasoje/gloo-receiver 📊

A lightweight, high-performance telemetry receiver and WebSocket broadcaster server for Gloo request tracing.

It listens on port 7777 by default, hosting the visualizer dashboard UI and accepting request trace payloads from the @oisasoje/gloo SDK to stream them in real time.


Features

  • High-Performance Collector: Ingestion engine running on port 7777.
  • 🌳 Capped Memory DB: Implements a strict O(1) capped eviction Map (limits traces to a maximum of 500 to prevent memory leaks in dev).
  • 📊 Live Broadcasts: Instantly broadcasts completed trace nodes and deletion triggers to connected dashboards via WebSockets.
  • 🛑 Process Safety: Zero disk writes or database configuration overhead, keeping execution 100% in-memory and ephemeral.

Internal Component

This package is the internal telemetry engine for the Gloo system. You do not need to install or run it directly.

Instead, use the Gloo CLI to start the entire visualizer suite:

npm install -g @oisasoje/gloo-cli
gloo dev

When started via the CLI, the receiver:

  1. Ingests traces on http://localhost:7777/trace.
  2. Hosts the visualizer dashboard UI directly on http://localhost:7777.

REST API Specification

The receiver exposes a simplified REST API for trace ingestion and management:

| Method | Endpoint | Description | | :--- | :--- | :--- | | POST | /trace | Ingestion endpoint (used internally by the SDK to post completed traces). | | GET | /traces | Fetches all active traces stored in memory. | | GET | /traces/:id | Fetches details for a single trace by UUID. | | DELETE | /traces | Clears all stored traces in-memory and syncs visualizers. | | DELETE | /traces/:id | Deletes a single trace by UUID and syncs visualizers. |

[!NOTE] All other frontend assets (such as HTML, JS, CSS) are served by the receiver from its internal static out/ directory, with SPA fallback routing.


WebSocket Stream Protocol

Clients connect to ws://localhost:7777 to stream updates in real time.

Broadcast JSON Envelope

All messages sent over the WebSocket follow this envelope structure:

{
  "type": "trace" | "clear" | "clearById",
  "payload": any
}
  • trace Event: Emitted when a new request completes. Payload contains { id, body: { ...traceDetails } }.
  • clear Event: Emitted when all traces are cleared from memory. Payload is [].
  • clearById Event: Emitted when a single trace is deleted. Payload is { id: "clearById", body: "trace-uuid" }.

Architecture (v1)

[ Express App (Gloo SDK) ] ──(HTTP POST)──> localhost:7777 (gloo-receiver)
                                                      │
                                           (Serves static UI files)
                                                      ▼
                                           localhost:7777 (gloo-ui in browser)
                                                      │
                                             (WebSocket Stream)
                                                      ▼
                                            ws://localhost:7777

Notes

  • Designed purely for local developer observability.
  • Uses an ephemeral, in-memory Map capped at 500 traces to preserve machine performance.
  • The receiver must be running before starting your Express app so that the SDK telemetry POST calls do not fail.