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

superinstance-vectorize

v1.0.0

Published

Cloudflare Vectorize experiments for the SuperInstance agent knowledge base

Readme

superinstance-vectorize

Cloudflare Vectorize as the agent knowledge graph — every crate is a vector, every query discovers integration.

What

A Cloudflare Worker + Vectorize index that stores 32-dimensional embeddings of every SuperInstance crate. Enables semantic search across 560+ repos to find:

  • Similar crates (same domain, same patterns)
  • Cross-domain synergies (different domain, similar structure)
  • Knowledge gaps (areas with low coverage)
  • Evolution patterns (how crates change across waves)

The 32 Dimensions

Each dimension maps to a domain/category: 0-3: ternary (math, ML, GPU, compression) 4-7: agent (coordination, music, cognition, timing) 8-11: infrastructure (oxide, cuda, character, education) 12-15: algorithms (compression, signal, crypto, distributed) 16-19: quality (testing, formal verification, creative writing, physics) 20-23: applications (ecology, game theory, scheduling, data structures) 24-27: systems (compiler, runtime, IoT, web) 28-31: meta (experimental, meta-cognition, scaling, integration)

API

Insert crates

curl -X POST https://superinstance-vectorize.your-subdomain.workers.dev/insert \
  -H "Content-Type: application/json" \
  -d '[{"name":"agent-sync","tests":10,"loc":1200,"domain":"agent-timing","category":"music-cognition","wave":65,"model":"glm-5.1","github_url":"...","description":"..."}]'

Query for similar crates

curl -X POST https://superinstance-vectorize.your-subdomain.workers.dev/query \
  -d '{"crate":{"name":"agent-sync","tests":10,"loc":1200,"domain":"agent-timing","category":"music-cognition","wave":65,"model":"glm-5.1","github_url":"","description":""},"topK":5}'

Find cross-domain synergies

curl -X POST https://superinstance-vectorize.yer-subdomain.workers.dev/synergies \
  -d '{"domain":"agent-music","topK":5}'

Setup

# Create the Vectorize index
npx wrangler vectorize create superinstance-knowledge --dimensions=32 --metric=cosine

# Deploy the worker
npx wrangler deploy

Why Vectorize

Casey's directive: "The vectordb absorbs the repo and environment as standard state and builds internal tiles as part of idle-time optimization/training."

This is the tile builder. Every crate gets embedded. Every query discovers connections. The system gets smarter just by existing and being queried.

Architecture

Crate → embedCrate() → 32-dim vector → Vectorize
                                           ↓
Query → embedCrate() → cosine search → matches
                                           ↓
                    Cross-domain filter → synergies