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

@co-engram/viewer

v0.6.0

Published

Co-Engram host-agnostic viewer HTTP server. Inline SPA for browsing engrams, synapses, skills, audit, and effectiveness.

Readme

@co-engram/viewer

Host-agnostic HTTP viewer for Co-Engram team memory.

Inline SPA that lets you browse engrams, synapses, skills, audit log, effectiveness metrics, and the trash bin. Bind to loopback only, optional bearer token auth, automatic EADDRINUSE retry.

Both @co-engram/claude-code and @co-engram/openclaw import this package to start a viewer — no host-specific coupling here.

Usage

import { startViewerServer } from "@co-engram/viewer";

const runtime = await startViewerServer(ctx, {
  port: 18899, // optional, defaults to 18899 (unified across both hosts since 2026-07) with auto-retry
  token: "optional", // optional bearer token
  language: "zh", // 'en' | 'zh'
});

// later
await runtime.stop();

Architecture

  • server.ts — HTTP server (11 endpoints under /api/* + SPA root)
  • html.ts — SPA shell assembler (inlines vendor bundles, runtime modules)
  • styles.ts — all CSS as a string literal
  • runtime/{app,tabs,graph}.ts — client-side TS shipped as strings to the browser
  • UI (2026-08 redesign) — left sidebar navigation (browse / governance / admin icon row) on a warm light theme; the overview tab shows KPIs with weekly deltas, a 30-day memory pulse, an audit-driven activity feed, and TOP-N ranking cards
  • Graph tab (2026-08) — beyond kind/family filters and physics freeze: an importance-threshold slider, a creation-time replay slider (nodes carry createdAtMs, combined with the threshold), Louvain cluster hulls with breathing animation, glow halos on importance ≥ 0.7 nodes, night mode, and click-to-focus with flowing edges and non-neighbor fade-out (Esc resets). Motion effects live in a pointer-transparent SVG overlay driven by CSS animations; positions re-sync on afterDrawing via canvasToDOM, so no per-frame canvas redraws are needed
  • vendor/*-source.ts — auto-generated by scripts/build-vendor.mjs, inlining marked / DOMPurify / vis-network UMD bundles so the SPA works offline

Build

pnpm build   # runs build:vendor (inlines UMD bundles) + tsc

Run pnpm build:vendor after upgrading marked / DOMPurify / vis-network to refresh the inlined strings.