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

@vayo-hq/cli

v0.1.1-beta.3

Published

npx vayo init / scan / export

Readme

@vayo-hq/cli

The vayo command — self-hosted, auto-generating API documentation for Node/Express APIs. Zero manual annotation. Bring-your-own-database: Vayo never hosts your data or phones home.

Install

Requires Node 20+, your own MongoDB instance, and Express 4.x (peer dependency — v1 targets Express 4 only; a bare npm install express today resolves to Express 5, which this rejects — install express@^4.19.0 explicitly).

Currently in beta — install with the @beta tag explicitly, rather than relying on latest:

npm install @vayo-hq/cli@beta @vayo-hq/capture-express@beta @vayo-hq/db-mongo@beta express@^4.19.0

Quickstart

1. Initialize

npx vayo init

Prompts for your MongoDB URI and the path to a file exporting your bootstrapped Express app. Writes .env, vayo.config.js, and a placeholder AST-entry file — matching your project's CommonJS/ESM style automatically. Never touches your existing source files.

2. Wire capture into your real app

vayo init prints this exact snippet — mount it wherever you currently call app.listen():

const { capture } = require("@vayo-hq/capture-express"); // or `import` for ESM
const { createAdapter } = require("@vayo-hq/db-mongo");
const db = createAdapter(process.env.VAYO_MONGO_URI);
app.use(capture({ db }));

3. Scan and capture real traffic

npx vayo scan   # static pass — routes + middleware chains, no traffic needed

Then hit your app's endpoints normally — capture() merges what real traffic reveals with what the static scan found.

4. Create your first login

npx vayo create-owner --email [email protected] --name "Your Name" --password "..."

Skip this if you're using delegated auth (validating your own app's session instead — see @vayo-hq/server).

5. Serve your docs

npx vayo serve --port 4100

Browse to http://localhost:4100/vayo, sign in, and see every endpoint vayo scan found — inferred schemas, working examples, and a live request client.

Commands

| Command | What it does | |---|---| | vayo init | One-time setup: .env, vayo.config.js, AST-entry file, DB migrations | | vayo scan | Static AST pass — routes, middleware, auth guesses, request schemas (Zod- or Mongoose-derived) | | vayo export | Compile and write the resolved spec for a version — --format openapi (default) or --format postman | | vayo import <file> | Enrich already-discovered endpoints with descriptions/examples/servers from an existing OpenAPI 3.0.x/3.1 spec — --version, --overwrite. Never invents endpoints from the spec; capture/scan stay the source of truth for what exists. Rejects a Postman Collection export with a clear error (different shape, not yet supported here) | | vayo create-owner | Create the first team member (owner role) — the only way in for standalone auth | | vayo serve | Run the REST API + Socket.IO gateway + docs UI standalone | | vayo diff <from> <to> | Structural diff between two API versions — --fail-on-breaking for CI |

What you get

Every endpoint gets a resolved request/response schema — confidence-tagged so a guess is never shown with the same weight as something confirmed: declared when traced from a Zod schema your code already enforces, inferred when traced from a Mongoose model's storage shape, observed once real traffic has actually confirmed it. Plus auth requirements, a working code sample in six languages, and a live "Try It Now" request client — organized into a sidebar you can freely reorganize into folders, with every manual edit layered on non-destructively so the next vayo scan or the next request never silently erases it.

License

MIT