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

@descryy/viz

v0.5.6

Published

A query-driven graph visualizer over the existing query layer: search a symbol, render its bounded neighbourhood, inspect the evidence behind a node or an edge. Never the whole graph at once.

Readme

@descry/viz

A local, query-driven graph visualizer over an already-built graph. Search a symbol, see its bounded neighbourhood — never the whole graph at once.

descry viz [--port <number>] [repository-path]

Run descry analyze first — this reads an existing graph, it does not build one.

What it does

Search a symbol, get a legible one-hop neighbourhood, click a node for its full detail. Search returns a bounded neighbourhood, fitted to the canvas — this is the landing state, one hop, legible at a glance.

  • Search by node / file / function; click a result to load its neighbourhood.
  • Depth (1–4 hops), direction (upstream / downstream / both), and node-type / edge-type filter chips.
  • Click a node for its file, line range, language, resolution, reliability class, producedBy, and attrs.
  • Click an edge for its resolution, confidence, producedBy, and a "why is this connected?" panel over the edge's own attrs — the real evidence, or an honest statement that this edge carries none beyond its core provenance.
  • Upstream / downstream highlighting from any selected node, computed over the loaded view.
  • API_ENDPOINT nodes get a visual ring — the cross-language USES_APIAPI_ENDPOINTSERVES_API join is the hardest shape to verify by reading code, and the one most worth seeing.
  • Export the current scoped view as JSON.

The same seed, one hop wider, fitted to the canvas. The depth control doing real work — a wider neighbourhood scales to fit rather than running off the canvas.

The edge inspector, refusing to invent a reason. "Why is this connected?" — no explicit reason field on this edge, so it says that, and shows the full attrs instead. This is the disclosure guarantee, made visible.

What it does not do

  • No repository filter. No per-node repository field exists in the graph schema today — a node's id hashes the repository but never hands it back. The filter is visibly present and disabled, with that reason stated, rather than omitted or faked.
  • No force-directed layout, by choice. Nodes lay out in deterministic depth-ordered columns from the search seed. "A legible path, not a cloud" was the actual design constraint; a physics simulation fights it at any real fan-out.
  • No saved or bookmarked views beyond the one-shot JSON export.
  • Every edge renders dashed. Resolution 4 (observed) is reserved for the runtime layer, which does not exist yet — nothing in a static-analysis graph can be resolution === 4, so the solid "observed" edge style is real but currently unreachable. It stays unreachable, honestly, until descry-runtime exists to produce it.

Reading the graph

Everything here goes through the existing query layer (openStore, createStoreProvider, findNodes, bfs) — no new SQL, no new store access path, no new IR vocabulary.