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

mobile-dev-agent

v0.1.0

Published

A small Node-based CLI wrapper to make Maestro + iOS/Android automation easier to drive from agent workflows

Readme

Mobile Dev Agent CLI (iOS/Android + Maestro)

This repo includes a small Node-based CLI wrapper to make Maestro + iOS/Android automation easier to drive from agent workflows.

It shells out to:

  • maestro (Maestro CLI)
  • xcrun simctl (iOS Simulator management)
  • xcodebuild (build an iOS app for the Simulator)
  • adb / emulator (Android device + emulator management)

It does not synthesize host mouse/keyboard events.

Prerequisites (macOS)

  1. Install Maestro:
    • curl -Ls "https://get.maestro.mobile.dev" | bash
    • Ensure ~/.maestro/bin is on your PATH
  2. Install Java (recommended: Java 17)
  3. Install Xcode + iOS Simulator runtimes (via Xcode Settings)

Maestro runs against simulators/emulators (not physical devices) in this workflow.

Quick Start

From the repo root:

# Build the CLI
cd mobile-dev-agent && npm install && npm run build

# Verify dependencies
node mobile-dev-agent/dist/src/bin/mobile-dev-agent.js doctor

# List iOS Simulators + Android devices
node mobile-dev-agent/dist/src/bin/mobile-dev-agent.js devices list --platform all

# Build any iOS app (example using an .xcodeproj)
node mobile-dev-agent/dist/src/bin/mobile-dev-agent.js build-ios --project path/to/App.xcodeproj --scheme App

# Boot a simulator by name (optional)
node mobile-dev-agent/dist/src/bin/mobile-dev-agent.js device boot --name "iPhone 17 Pro"

# Install the built .app to the simulator (optional; `test --app` can do this too)
node mobile-dev-agent/dist/src/bin/mobile-dev-agent.js app install --app /path/to/App.app --name "iPhone 17 Pro" --boot

# Run a Maestro flow (YAML) and emit a junit report
node mobile-dev-agent/dist/src/bin/mobile-dev-agent.js test --flow maestro/flows --name "iPhone 17 Pro" --boot \
  --format junit --output /tmp/maestro-report.xml --maestro-output-dir /tmp/maestro-out

# Run a temporary flow from stdin (agent-friendly)
node mobile-dev-agent/dist/src/bin/mobile-dev-agent.js flow run --platform ios --name "iPhone 17 Pro" --app-id com.example.app <<'YAML'
- launchApp
- tapOn: "Sign in"
- assertVisible: "Welcome"
YAML

JSON Output (for agents)

Every command supports --json for machine-readable output:

node mobile-dev-agent/dist/src/bin/mobile-dev-agent.js test --flow flows/login.yaml --boot --json

Testing

cd mobile-dev-agent
npm run build
node --test dist/test/*.test.js