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

@supa-media/dev

v1.0.1

Published

Development orchestrator — runs Convex dev + Expo together

Readme

@supa-media/dev

One command that starts a Convex + Expo app. supa-dev runs the Convex dev server and Metro together in one terminal with labeled, colored output, and handles the small chores that otherwise cost you the first five minutes of every session: a stale lockfile, a leftover process squatting on the Metro port, and wiring EXPO_PUBLIC_CONVEX_URL through to Expo.

Install

pnpm add -D @supa-media/dev

Then wire it up at the workspace root:

{
  "scripts": {
    "dev": "supa-dev",
    "dev:mobile": "supa-dev --mobile",
    "dev:convex": "supa-dev --convex"
  }
}

Flags

| Flag | What runs | | --- | --- | | (none) | Convex dev and expo start --web | | --convex | Convex dev only | | --mobile | Expo only, no platform flag (Expo picks) | | --web | Expo only, --web | | --ios | Expo only, --ios | | --android | Expo only, --android |

Flags are matched by exact presence in process.argv; unknown arguments are ignored. --convex suppresses Expo even if another platform flag is also passed.

What it does, in order

  1. Finds the workspace root by walking up from the cwd for a pnpm-workspace.yaml or pnpm-lock.yaml.
  2. Loads supa.config.js / supa.config.ts from that root, if present (.ts needs tsx or ts-node resolvable). Reads dev.metroPort (default 8081) and convex.functionsDir.
  3. Reinstalls if the lockfile moved. Compares pnpm-lock.yaml's mtime+size against a marker at node_modules/.pnpm-lock-hash and runs pnpm install when they differ (or when node_modules is missing).
  4. Resolves the Convex URLEXPO_PUBLIC_CONVEX_URL from the environment, else from .env.local, else derived from CONVEX_DEPLOYMENT as https://<slug>.convex.cloud — and passes it to the Expo child process.
  5. Spawns npx convex dev [--functions <dir>] from the workspace root, and npx expo start --port <port> [platform flag] from the first of apps/mobile, apps/expo, or the root that contains an app.json / app.config.js / app.config.ts.

Before starting Expo it frees the Metro port by lsof-ing the listener and kill -9ing it. SIGINT/SIGTERM shuts both children down, and if either child exits non-zero the other is killed too.

⚠️ Two side effects you should know about before wiring this into a script. It will run pnpm install on your behalf when the lockfile has changed, and it will kill whatever is listening on the Metro port — including an unrelated process on 8081. Both are unconditional. lsof/kill also means macOS and Linux only.

Running with --mobile, --web, --ios, or --android and no reachable Convex URL exits 1 rather than starting Expo against nothing.

Programmatic use

require("@supa-media/dev") exposes run() (the same entry point the bin calls, reading process.argv itself) plus the helpers findWorkspaceRoot, getConvexUrl, ensureDependencies, and killProcessOnPort.

No tests ship with this package.


Part of the Supa Media framework — https://github.com/Supa-Media/supa-framework. MIT.