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

vybe.domains

v0.1.0

Published

vd — the vybe.domains CLI. Search, check, and manage domains from your terminal: availability + pricing, AI name ideas, portfolio, DNS, TLD catalog. Agent-first: JSON envelopes, semantic exit codes, machine-discoverable commands.

Readme

vd — the vybe.domains CLI

Search, check, and manage domains from your terminal. Built agent-first: every command emits a stable JSON envelope, exit codes are semantic, and the whole command surface is machine-discoverable.

Status: v0.1 (read-only slice). Design: syntax-ideas/2026-09-15-cli.md. Money-moving commands (buy, renew, offer, …) are designed but not shipped; invoking one exits 8 with a pointer.

Install

npm install -g vybe.domains   # installs the `vd` and `vybe` commands (Node ≥ 20)
vd check example.com

npx vybe.domains check example.com   # or zero-install

Heads-up: VisiData also installs a vd binary. If you have it, use the vybe bin name or your own alias.

From this repo (development)

Requires Node ≥ 23.6 (runs the TypeScript sources directly):

node cli/bin/vd.mjs check example.com     # from the repo root
cd cli && npm run build && npm link       # or: build dist/vd.mjs + put `vd` on PATH

Quickstart

vd                                  # dashboard (or welcome, if signed out)
vd example.com                      # smart card: availability or your entry
vd check example.com example.io     # exact availability + price
vd search revybe --tlds com,io,ai   # spread a name across TLDs
vd tlds                             # priced TLD pool
vd supported .dev && echo "buyable" # exit 0 = registrable, 5 = not
vd .dev                             # same check, dot-rule shorthand

vd login                            # email+password (account: vybed.vercel.app)
vd ls --expiring 30d                # your portfolio
vd info example.com                 # detail card
vd dns example.com                  # DNS records (stable rec_… ids)
vd wallet                           # credits, tier, budget
vd transactions                     # billing ledger
vd auth token create --save         # API key: enables `vd find`, agents, REST
vd find "fitness app for climbers"  # AI name ideas (needs API key)

v0.1 commands

| Command | Aliases / sugar | Auth | |---|---|---| | vd domain check <domain…> | vd check | — | | vd domain search <query> | vd search, vd s | — | | vd domain find "<idea>" | vd find | API key | | vd domain ls | vd ls, vd list | session | | vd domain get <domain> | vd info, vd <domain> (owned) | session | | vd dns ls <domain> | vd dns <domain>, vd <domain> dns | session | | vd tld ls [query] | vd tlds | — | | vd tld supported [tld] | vd supported, vd .dev | — | | vd tld unsupported [tld] | vd unsupported | — | | vd tx ls | vd transactions, vd tx | session | | vd wallet get | vd wallet | session | | vd auth login/logout/whoami | vd login, vd logout, vd whoami | — | | vd auth token ls/create/rm | — | session | | vd help / version / commands / schema | -h, -V | — |

The agent contract

  • Output: human tables on a TTY; a single JSON envelope when piped or with -o json. Also -o ids (newline ids for piping) and -o ndjson. vd ls -o ids | xargs -n1 vd info composes.
  • Envelope (stable, versioned vd/1):
    { "ok": true, "schema": "vd/1", "command": "dns.ls", "data": [...], "meta": { "ms": 214 } }
    { "ok": false, "schema": "vd/1", "command": "domain.ls",
      "error": { "code": "E_AUTH_REQUIRED", "message": "…", "fix": "vd login", "retryable": false } }
    error.fix is a runnable command whenever one exists.
  • Exit codes: 0 ok · 1 internal · 2 usage · 3 auth · 4 forbidden · 5 not found · 6 conflict · 7 upstream (retry) · 8 precondition · 9 confirmation required · 10 payment required · 11 rate limited (retry).
  • Discovery: vd commands -o json (full command tree, aliases, exit codes), vd schema <command> (JSON Schema per command).
  • No prompts off-TTY, ever. Non-interactive login uses env vars; nothing hangs waiting for stdin.

Auth & environment

| Variable | Purpose | |---|---| | VD_EMAIL / VD_PASSWORD | Non-interactive vd login | | VD_TOKEN | Supabase access token — skips stored sessions (CI/agents) | | VD_API_KEY | vybe API key (vybe_live_…) for public endpoints (vd find) | | VD_OUTPUT | Default output mode (table/json/ids/ndjson) | | VD_CONFIG_DIR / VD_CACHE_DIR | Override ~/.config/vd / ~/.cache/vd | | VD_BASE_URL, VD_PROJECT_ID, VD_ANON_KEY, VD_AUTH_URL | Point at a different backend | | NO_COLOR, TERM=dumb | Disable color (also --no-color) |

Sessions are stored in ~/.config/vd/credentials.json (mode 0600) and refreshed automatically. vd auth token create --save stores an API key in ~/.config/vd/config.json.

Development

cd cli
npm test          # node:test, no deps, no network (fake fetch)
npm run build     # esbuild single-file bundle → dist/vd.mjs

Architecture (see design doc §8): src/registry.ts is the single source of truth — commands are data (args, flags, aliases, examples), and the parser, help, vd commands, vd schema, and the registry lint tests are all generated from it. Handlers are pure (ctx, invocation) → result functions in src/commands/; src/main.ts#run() is the composition root and the test entry. DNS record types and the supported-TLD catalog are imported from supabase/functions/server/ so the CLI cannot drift from the backend.