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

repo-onboarding

v0.1.1

Published

Turn any codebase into an interactive onboarding site — your own AI coding agent does the deep reading, the hosted viewer renders it. BYO-model, $0.

Readme

repo-onboarding

Turn any codebase into an interactive onboarding site — your own AI coding agent does the deep reading, the hosted viewer renders it.

There is no server-side generation and nothing to pay for. You run a coding agent you already have (Claude Code, Cursor, Codex, …) against your repo; it produces a single validated analysis.json; you publish that to the hosted viewer at https://repo-onboarding-tau.vercel.app. This CLI is the glue: it computes the hard facts, hands your agent a precise protocol, validates the result, and uploads it.

Quickstart

# 1. In your repo, prepare the analysis workspace.
npx repo-onboarding init

#    This writes .repo-onboarding/ with:
#      prepass.json   deterministic facts (files, LOC, languages, git churn)
#      PROMPT.md      the analysis protocol for your agent
#      schema.json    the analysis.json schema to target

# 2. Tell your AI coding agent:
#      "Follow .repo-onboarding/PROMPT.md to produce analysis.json."
#    It reads the code and writes analysis.json at the repo root.

# 3. Validate what it produced (schema + dependency-graph edge integrity).
npx repo-onboarding validate analysis.json

# 4. Optionally, render a committable ONBOARDING.md for your repo.
npx repo-onboarding export analysis.json

# 5. Publish it to the hosted viewer.
npx repo-onboarding upload analysis.json

Commands

| Command | What it does | | --- | --- | | repo-onboarding init [path] | Prepare a repo for analysis (default path: .). Writes .repo-onboarding/. Also the default when run with no command. | | repo-onboarding prepass <path> [--out <file>] [--commits <n>] [--pretty] | Run only the deterministic facts pre-pass and print JSON. | | repo-onboarding validate <file> [--json] | Validate an analysis.json against the schema and edge integrity. --json prints { valid, issues }. | | repo-onboarding export [file] [--out <file>] [--force] | Render a committable ONBOARDING.md from an analysis.json via pure templating (default file: analysis.json, default output: ONBOARDING.md). --out - writes to stdout. | | repo-onboarding upload <file> [--api <base>] [--token <token>] | Validate locally, then publish to the hosted viewer. | | repo-onboarding --help / --version | Usage / version. |

Uploading: token setup

Uploads are authenticated with a personal token:

  1. Sign in at https://repo-onboarding-tau.vercel.app/account and create a token (it looks like roa_ followed by 40 hex characters).

  2. Provide it to the CLI in either way:

    # environment variable (recommended)
    export REPO_ONBOARDING_TOKEN=roa_...        # bash / zsh
    $env:REPO_ONBOARDING_TOKEN="roa_..."        # PowerShell
    
    # or per-invocation
    npx repo-onboarding upload analysis.json --token roa_...

upload always validates the document locally first and refuses to send an invalid one. Point at a different backend with --api <base> if you self-host.

What init writes

Everything lands in .repo-onboarding/ inside your repo — treat it as local scratch and add .repo-onboarding/ to your .gitignore. The pre-pass is zero-dependency and never modifies your repo; it only reads.

Exit codes

| Code | Meaning | | --- | --- | | 0 | Success / document valid | | 1 | Document invalid, or an upload was rejected / failed | | 2 | Usage, IO, or configuration error (bad path, missing/invalid token, unreadable file) |

Requirements

  • Node.js ≥ 20
  • git on your PATH (optional — without it, churn/hotspot data is simply omitted)

License

MIT