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

infrawiki

v0.0.1

Published

Writes and maintains your infrastructure documentation for agents in Open Knowledge Format (OKF)

Readme

  • Grounded, not guessed — every page is written from resources the agent actually inspected. It never invents infrastructure and never writes secrets.
  • Plain markdown — the wiki is a directory of .md files with typed frontmatter. Read it, grep it, commit it, feed it to your coding agent.
  • A real graph — pages are OKF concepts linked by relationship edges, with trust tiers and freshness built into the format. infrawiki visualize renders it interactively.

Quick start

infrawiki runs on Bun (the CLI executes TypeScript directly — no build step):

npm i -g infrawiki

Then initialize a wiki in any directory:

cd your-project
infrawiki init

The wizard walks you through:

  1. Model — pick an LLM provider and sign in (OAuth with your existing Claude / ChatGPT / Copilot subscription, or an API key).
  2. Sources — connect AWS: pick a profile from ~/.aws, choose regions, and let the wizard create a Resource Explorer index if one is missing.
  3. Output — where the wiki lives (default infrawiki/).
  4. Instructions — a brief the agent follows; edit it in $EDITOR or accept the default.
  5. Generate — sources sync, then the agent inventories your resources, inspects them with the AWS CLI, and writes the wiki.

Init is resumable — if you quit halfway, infrawiki init picks up where you left off.

When your infrastructure changes, refresh with:

infrawiki update

It re-fetches every source, diffs the new snapshot against the last documented one, and rewrites only the affected pages (and logs the delta in log.md).


The wiki it writes

The output is a self-contained OKF v0.2 bundle:

infrawiki/
├── index.md            # root navigation + okf_version
├── log.md              # change log, newest first
├── instructions.md     # your brief — the agent never edits it
└── aws/
    ├── index.md
    ├── accounts/706436713848.md
    └── eks/acme-model.md

Every concept page carries typed frontmatter, so the wiki doubles as structured data:

---
type: aws_account
title: Opsy management account (706436713848)
description: Management AWS account hosting the acme-model EKS platform.
resource: arn:aws:iam::706436713848:root
tags: [706436713848, management]
generated:
  by: infrawiki/gpt-5.6-sol
  at: 2026-08-17
---

Links between pages are relationship edges — which is what makes visualize possible.


Commands

| Command | What it does | | --- | --- | | infrawiki | Show the wiki path, state dir, and configured model | | infrawiki init | Initialize a wiki in the current directory (interactive, resumable) | | infrawiki update | Re-fetch sources, diff against the last snapshot, rewrite affected pages | | infrawiki visualize | Render the wiki as an interactive graph and open it (--no-open to skip the browser) |

The viewer supports search by title / id / tag, filtering by concept type, multiple layouts, trust and freshness badges, and a light/dark theme toggle.


How it works

  • Connectors and sources. A connector is an integration (AWS today); a source is a configured instance of one (profile + account + regions). Each update snapshots the source's full resource inventory; the agent diffs snapshots to know what changed.
  • The agent loop. The wiki is written by an LLM agent with read / write / edit / ls / grep / find / bash tools, sandboxed to the output directory for writes. It shells out to the AWS CLI to inspect resources beyond the raw inventory, and compacts its own context in-flight on large estates.
  • State. Project config lives in infrawiki.json (no secrets). Credentials, source snapshots, run logs, and visualize.html live in a per-project state dir under ~/.infrawiki/projects/ (auth.json is chmod 600); set stateDir in infrawiki.json to keep state in-project instead.

Providers

| Provider | Auth | | --- | --- | | Anthropic | Claude Pro/Max OAuth or API key | | OpenAI | ChatGPT Plus/Pro OAuth (Codex) or API key | | GitHub Copilot | Device-code OAuth | | OpenRouter | OAuth (mints an API key) | | xAI | SuperGrok / X Premium OAuth or API key | | Google Gemini | API key | | Azure OpenAI | API key + resource name | | OpenAI-compatible | Custom base URL + optional key |

API keys can also be picked up from environment variables.

Requirements

  • Bun — the CLI runs from TypeScript source.
  • AWS CLI with profiles in ~/.aws — used both for auth and for the agent's deep inspection.
  • AWS Resource Explorer 2 — an index in each region you connect; the init wizard can create local indexes or promote one to aggregator for you.

License

Elastic License 2.0. Portions adapted from other projects — see THIRD_PARTY_NOTICES.md.