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

@hyperscale-it/cf-platform

v0.1.0

Published

Cloudflare platform SDK + CLI: runtime Connect/PSM helpers, project codegen, and workspace generate-config pipelines.

Readme

@hyperscale-it/cf-platform

Cloudflare platform package for monorepos:

  1. Runtime SDK — Connect/PSM helpers for Workers (import '@hyperscale-it/cf-platform')
  2. Project codegencf-platform codegen emits project-local RPC client stubs
  3. Workspace generate-configcf-platform generate-config --env <dev|prod|staging>

Install

pnpm add @hyperscale-it/cf-platform
# or from a packed tarball:
# npm install ./hyperscale-it-cf-platform-0.0.1.tgz

Requires Node ≥ 22. The published/packed artifact is precompiled JS under dist/ (no --experimental-strip-types, no executing src/**/*.ts from node_modules).

Optional peer dependencies

| Peer | When | | --- | --- | | @cloudflare/containers | Only if you call container-PSM fetch at runtime on Workers. Optional; not required for SDK root import, CLI, or codegen. | | @bufbuild/protobuf | Connect proto message types when using generated Connect clients. |

This package does not depend on @cloudflare/workers-types. Public APIs use structural aliases (CloudflareExecutionContext, ServiceBindingFetcher) so Node / Nest consumers typecheck with only @types/node. Worker apps may install workers-types (or Wrangler-generated types) for their own ambient env — that is an app concern, not a platform peer.

Consumer TypeScript notes

  • Codegen emits NodeNext-compatible relative imports (./clients.js, ./registry.js, …). Prefer "moduleResolution": "NodeNext" (or Bundler) with "type": "module".
  • codegen placeholders (no moon inventory) still satisfy ServiceRegistry — no extra private fields.

Build (contributors)

pnpm --filter @hyperscale-it/cf-platform build
pnpm --filter @hyperscale-it/cf-platform test

CLI

npx cf-platform --help
npx cf-platform codegen --project apps/my-app
npx cf-platform generate-config --env dev
npx cf-platform generate-config --env staging --no-branch-policy --staging-env preview

Migration aliases: dev-runtime-config, deployment-artifacts.

Exports

| Export | Path | | --- | --- | | @hyperscale-it/cf-platform | Runtime SDK (dist/index.js) |

@cloudflare/containers is an optional peer, lazy-loaded only when a container PSM fetch runs. Node-side import('@hyperscale-it/cf-platform') does not require it.

External tools (generate-config)

| Tool | When | Override | | --- | --- | --- | | moon | Discover projects / inventory | --inventory-file / CF_PLATFORM_INVENTORY_FILE | | proto + terraform | validate-terraform (prod/staging) | CF_PLATFORM_TERRAFORM_MODE=direct + CF_PLATFORM_TERRAFORM_BIN | | git | Branch fallback | AGENT_HARNESS_BRANCH / GITHUB_REF_NAME / --branch |

Missing tools produce actionable errors (not silent failures).

Workspace layout (configurable)

Defaults match agent-harness; foreign monorepos should override:

| Path | Default | Override | | --- | --- | --- | | Cloudflare dir | infra/deploy/cloudflare | --cloudflare-dir / CF_PLATFORM_CLOUDFLARE_DIR | | project.yml | <cloudflare-dir>/project.yml | --project-config / CF_PLATFORM_PROJECT_CONFIG | | generated/ | <cloudflare-dir>/generated | --generated-root / CF_PLATFORM_GENERATED_ROOT | | Proto IDL | contracts/idl/proto | --proto-root / CF_PLATFORM_PROTO_ROOT | | Apps prefix | apps/ | CF_PLATFORM_APPS_PREFIX | | Branch policy | agent-harness convention | --no-branch-policy / CF_PLATFORM_SKIP_BRANCH_POLICY=1 |

License

UNLICENSED (internal package).