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

hypatia-archive

v0.1.3

Published

A local web console for safely reviewing and cleaning Hypatia knowledge shelves.

Readme

Hypatia Archive

A local web console for safely reviewing and cleaning Hypatia knowledge shelves.

Run with npx

Install Hypatia first, then run:

npx --yes hypatia-archive

The command starts a server bound only to 127.0.0.1:4174 and opens http://127.0.0.1:4174 in the default browser. Stop it with Ctrl+C when finished.

Use a different port or start without opening a browser when needed:

npx --yes hypatia-archive --port 5050
npx --yes hypatia-archive --no-open

hypatia must be available on PATH. To use a different executable, set HYPATIA_BIN to its absolute path before running the command.

What It Does

  • Lists registered Hypatia shelves and works with the selected connected shelf.
  • Searches knowledge with Hypatia's JSE full-text query, then filters locally by tag and scope.
  • Opens the complete knowledge record with its direct incoming and outgoing statements.
  • Maps a focused local neighborhood in the Graph workspace, including statement references whose knowledge record has been deleted.
  • Lets users inspect nodes and directed relationships, expand a node's immediate relations, and refocus the map with the toolbar control or a double-click/tap.
  • Adds each graph focus change to browser history, so Back and Forward restore the previously focused node.
  • Renders Markdown knowledge content with headings, links, code, lists, quotes, and images while skipping raw HTML.
  • Previews deletion impact before every deletion.
  • Requires typing the exact knowledge name before deletion.
  • Offers an explicit choice to retain related statements or delete them with the knowledge entry.

Hypatia's native knowledge-delete command does not cascade to statements. The console preserves that behavior by default and only removes related statements when the destructive option is checked.

Explore Relationships

Open Graph from a selected record or switch to the Graph workspace. The view begins with one focused knowledge entity and its direct incoming and outgoing statements, rather than loading the complete shelf. Select a node to inspect it, then use Focus map or double-click/tap a node to make it the next local map center. Browser Back and Forward move between those focus states.

The graph limits each direct direction to 60 relationships and caps the visible workspace at 90 nodes or 160 edges. A dangling reference node remains visible when a statement still refers to a deleted knowledge record, matching the default non-cascading deletion behavior.

Read Formatted Content

Knowledge records whose stored format is markdown or md are rendered with react-markdown. Standard Markdown is displayed as formatted content in both the record inspector and graph inspector. Raw HTML is skipped rather than inserted into the page.

Hypatia Compatibility

Hypatia Archive 0.1.3 is validated with Hypatia 0.3.0. Hypatia 0.3.0 returns statement positions as head, relation, and tail; the server normalizes those fields for the record inspector and Graph workspace. The prior subject, predicate, and object response shape remains supported for compatibility with older shelves and CLI releases.

Requirements

  • Node.js 22 or later
  • Hypatia installed and available on PATH, or HYPATIA_BIN set to the absolute executable path

The server only binds to 127.0.0.1. It invokes Hypatia through spawn with argv arrays, not a shell command string. Calls are serialized because Hypatia's shelf store permits one CLI process at a time.

Develop From Source

pnpm install
pnpm dev

Open http://127.0.0.1:5173. The Vite development server proxies API requests to the local service at port 4174.

To build and run the packaged production application locally:

pnpm build
pnpm start

The production command opens http://127.0.0.1:4174. Add -- --no-open to keep it from opening a browser.

Validation

pnpm test
pnpm typecheck
pnpm build
npm pack --dry-run

License

MIT Copyright (c) 2026 tkliuxing.