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

cloud-doctor

v0.1.0

Published

One command grades your whole cloud account — misconfigurations, observability, and security posture

Readme

cloud-doctor

One command grades your whole cloud account — misconfigurations, missing observability, and security posture, ranked by the five things to fix first.

npx cloud-doctor

That picks a provider, resolves your identity, and runs the scan interactively. Or skip straight to one:

npx cloud-doctor aws --profile prod
npx cloud-doctor cloudflare --yes
npx cloud-doctor vercel --yes

If ~/.npmrc has min-release-age set and blocks fresh releases:

npm x --min-release-age=0 cloud-doctor -- aws profiles

Prefer the bleeding edge? Alpha builds publish to their own tag: npx cloud-doctor@alpha.

Supported providers

| Provider | Command | Auth | |---|---|---| | AWS | cloud-doctor aws | AWS SDK credential chain — --profile, AWS_PROFILE, env vars, SSO, web identity | | Cloudflare | cloud-doctor cloudflare | CLOUDFLARE_API_TOKEN | | Vercel | cloud-doctor vercel | VERCEL_TOKEN (+ optional VERCEL_TEAM_ID) | | Supabase | cloud-doctor supabase | SUPABASE_ACCESS_TOKEN | | Render | cloud-doctor render | RENDER_API_KEY | | Fly.io | cloud-doctor fly | FLY_API_TOKEN (+ optional FLY_ORG) | | Railway | cloud-doctor railway | RAILWAY_API_TOKEN (workspace/account token) |

Coming soon: Google Cloud, Kubernetes, and Databases (Postgres, MySQL, Redis).

Commands

cloud-doctor                    # pick provider (default AWS) → pick identity → scan
cloud-doctor aws                # AWS fast path
cloud-doctor aws --profile prod # non-interactive when unambiguous
cloud-doctor aws --yes --json   # CI, machine-readable output
cloud-doctor aws --yes --json --fail-under 75  # CI gate on the score

cloud-doctor aws profiles       # list ~/.aws/config profiles
cloud-doctor aws whoami         # show resolved AWS identity

--yes skips prompts (CI-safe); --json prints a stable, schema-versioned report; --verbose prints every finding; --no-color disables color output.

What you get back

  • A score (0–100): a severity-weighted pass ratio over every rule that actually ran.
  • The top 5 fixes, ranked by score impact, each naming the affected resource with a concrete fix.
  • Disclosure, never guessing: muted (disabled via config) and unavailable (missing-permission) rules are called out, not counted as passes.
  • If issues are found in an interactive terminal, cloud-doctor can hand the report straight to your AI coding agent — Claude Code, Codex, or Cursor, whichever is installed.

Configuration

// doctor.config.ts
import { defineConfig } from "cloud-doctor/api";

export default defineConfig({
  defaultProvider: "aws",
  aws: {
    profile: "prod",
    regions: ["us-east-1", "eu-west-1"],
  },
  rules: {
    "aws/s3-unencrypted-bucket": "off",
    "aws/iam-user-access-key": "error",
  },
});

"off" disables a rule; "error" / "warning" overrides its severity.

License

MIT