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

@mieweb/cli

v0.2.1

Published

`mieweb` CLI — a thin, target-aware wrapper over wrangler. On the cloudflare target it delegates verbatim to the real wrangler binary; on other targets it drives the matching @mieweb adapter (e.g. the local Node host harness).

Readme

@mieweb/cli — the mieweb command

Target-aware wrapper over wrangler. On the cloudflare target (default) every command is forwarded verbatim to wrangler; on local/mieweb the CLI runs your unchanged worker on the Node host harness backed by the matching adapters. See the root README for the full model.

mieweb [--target <cloudflare|local|mieweb>] <command> [...args]

Images (Cloudflare Containers)

Build container images once, distribute them with skopeo (see container-plan.md).

Prerequisites: skopeo plus a builder — buildah (preferred) or docker.

brew install skopeo buildah        # macOS
# apt/dnf install skopeo buildah   # Linux

The CLI reads the containers array in wrangler.jsonc (class → Dockerfile) and the per-target registry block in mieweb.jsonc:

// mieweb.jsonc
{
  "targets": {
    "mieweb": {
      "registry": {
        "url": "cr.os.mieweb.org",
        "project": "cloud-apps",
        "username": "robot$cloud-apps+ci",
        "authFile": "~/.config/mieweb/registry-auth.json"
      }
    }
  }
}

Commands

mieweb images build                  # build every containers[] image (buildah/docker)
mieweb images push --target mieweb   # build + skopeo copy → registry, pin digests
mieweb images push                   # cloudflare target: delegates to `wrangler containers push`
mieweb images inspect CONVERTER      # skopeo inspect by binding name or class name
mieweb images status                 # lockfile pins vs. what's live in the registry

mieweb registry login --target mieweb    # skopeo login (writes authFile; password prompted, never argv)
mieweb registry logout --target mieweb

Conventions

  • Naming: docker://<registry.url>/<project>/<class_name lowercased>:<git short SHA>, plus a latest moving tag. project defaults to the wrangler app name.
  • Lockfile: pushes pin the manifest digest per class per target in .mieweb/images.lock.json (commit it — it's what makes deploys reproducible). mieweb images status reports drift between the pin and the registry's latest.
  • Auth: prefer authFile (written by mieweb registry login) over inline credentials; secrets are never passed on the command line or logged. Harbor robot accounts (robot$project+name) are the expected CI identity.
  • Cloudflare: the managed registry is wrangler's job — images push on the cloudflare target hands off to wrangler containers push rather than reimplementing its auth with skopeo.