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

workers-doctor

v0.1.5

Published

Inspect and safely run multi-Worker Cloudflare projects.

Downloads

934

Readme

Workers Doctor

Inspect and safely run multi-Worker Cloudflare projects.

npm version CI CodeQL MIT license

Website · GitHub Action · Report an issue

Workers Doctor turns a directory of Wrangler files into one understandable development plan. It resolves the selected environment, maps service and resource bindings, identifies local and remote state, checks local secret names, and can start the stack only after the plan is visible.

$ npx workers-doctor inspect --env staging

Workers Doctor
2 workers · 3 bindings · 1 remote
Environment: staging

doctor-api-staging  apps/api/wrangler.jsonc
  d1               DB → doctor-preview  remote
  service          AUTH → doctor-auth-staging  local

doctor-auth-staging  apps/auth/wrangler.jsonc
  kv                SESSIONS → local-id  local

i NOTICE WD002  Remote bindings will be used

Inspect a stack

npx workers-doctor
npx workers-doctor ./apps --env staging
npx workers-doctor --json
npx workers-doctor --github --strict
npx workers-doctor graph > workers.dot

Wrangler JSONC, JSON, and TOML configurations are supported. Common generated directories are skipped during discovery.

Start the development plan

Preview the exact processes and ports first:

npx workers-doctor dev --env staging --dry-run

Then start every discovered Worker in dependency order:

npx workers-doctor dev --env staging

Workers Doctor uses the repository's lockfile to select pnpm, npm, Bun, or Yarn. It does not deploy, create resources, or call the Cloudflare API.

GitHub Actions

- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: loke-dev/[email protected]
  with:
    environment: staging

The reusable Action annotates configuration problems and fails on errors. Its inputs are path, environment, and strict. It runs the reviewed CLI bundle from the selected repository tag without downloading executable code from npm.

Diagnostics

| Rule | Check | | --- | --- | | WD001 | Selected environment exists in every scanned Worker | | WD002 | Remote bindings are clearly reported | | WD003 | Local and remote state are not mixed accidentally | | WD004 | A project does not mix .dev.vars and .env | | WD005 | Names declared in secrets.required exist locally | | WD006 | Service binding targets resolve inside the scanned stack | | WD007 | Service binding cycles, including self-cycles, are visible | | WD008 | Effective Worker names are unique inside the scanned stack | | WD009 | Binding names are unique inside each Worker |

Secret values are never reported. inspect, graph, and CI output are fully offline and require no Cloudflare account.

Development

pnpm install
pnpm check
pnpm dev -- tests/fixtures/healthy --env staging
pnpm site:dev

License

MIT