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

@doublespeed/ds

v0.3.1

Published

ds — CLI for the remote Xcode build/test/archive service

Readme

ds — CLI for the remote Xcode service

ds xcode build   .            # compile; default destination generic/platform=iOS Simulator
ds xcode test    .            # run XCTest; default destination iPhone 16 simulator
ds xcode archive .            # Release .xcarchive

Common flags: --scheme, --workspace X.xcworkspace / --project X.xcodeproj, --configuration, --destination '<xcode destination>', --xcode 16, --env KEY=value (repeatable), --timeout <s>, --only-testing T / --skip-testing T / --test-plan P, --collect-app, --no-follow, --json. For an app build, --out MyApp.app.zip implies --collect-app and downloads the resulting bundle.

ds xcode run . builds for a simulator on a worker and prints a browser link where you can use the app live (tap, swipe, type). --device 'iPhone 16 Pro', --idle 600 (end after N idle seconds), --timeout caps the session; Ctrl-C or ds xcode stop <job> ends it.

Other commands: ds xcode status <job>, ds xcode logs <job> [--after N], ds xcode cancel <job>, ds xcode artifacts <job> [--download <artifact_id> --out file], ds xcode jobs [--status queued].

Build once, open many times

Use a persistent simulator when opening an app should not trigger another build or another simulator boot. The viewer URL stays the same until the session is stopped, reaches its idle timeout, or reaches its maximum duration.

# Build and download a simulator-compatible app bundle once.
ds xcode build . --scheme MyApp --xcode 16 --out MyApp.app.zip

# Allocate one bare simulator. Save the session id and keep the printed viewer URL open.
ds xcode simulator create \
  --device "iPhone 16 Pro" --xcode 16 --idle 900 --timeout 7200

# Install the prebuilt app and launch it. Repeated uploads of identical bytes are skipped by SHA-256.
ds xcode simulator install <session-id> MyApp.app.zip --launch

# Open the installed app again without building or booting anything.
ds xcode simulator launch <session-id> ai.example.MyApp

# After source changes, build a new bundle and replace/relaunch it in the same simulator.
ds xcode build . --scheme MyApp --xcode 16 --out MyApp.app.zip
ds xcode simulator reload <session-id> MyApp.app.zip

# Inspect or end the session explicitly.
ds xcode simulator status <session-id>
ds xcode simulator stop <session-id>

install preserves the existing app container according to simctl install semantics. reload terminates the app if it is running, installs the supplied build, and launches it again. Neither command changes the session id, browser link, or simulator. Use simulator list, optionally with --label app=vibecode, to discover live sessions created with matching --label values.

When a session ends normally, its worker parks the booted simulator for up to ten minutes. A later session from the same tenant is preferentially routed back to that worker, retaining installed apps and app data. This is an optimization, not a guarantee; the next compatible free worker may claim the job. A simulator is always erased before it changes tenants.

Config: DS_API_URL (e.g. https://<host>/v1/xcode), DS_API_KEY (dsx_…, minted by an operator via POST /v1/xcode/admin/keys). Exit code 0 on succeeded, 1 otherwise; --json prints one JSON line per event and a final job object.

How a run works

  1. Walk the directory (git ls-files when it is a git repo, so .gitignore applies) plus .dsignore and built-in excludes (DerivedData, build, .build, node_modules, *.xcresult, *.xcarchive, .git). Symlinks are skipped with a warning.
  2. Hash every file (sha256) and POST /sources with the manifest. The API answers with the hashes it does not have for your tenant plus a signed upload URL for each.
  3. Upload only those blobs directly to storage (8 in parallel), then POST /sources/{id}/complete. Editing one file and re-running uploads exactly one blob.
  4. POST /jobs202 {id, status: "queued"}.
  5. Follow GET /jobs/{id}/events as SSE; the server caps a connection at ~55 s and the CLI reconnects with Last-Event-ID, so nothing is missed.
  6. GET /jobs/{id} for the final structured result (diagnostics, test counts, artifacts, timings).

Install

npm install -g @doublespeed/ds   # published from xcode-cli/; for local dev: cd xcode-cli && npm install && npm run build && npm link

When you have no Mac

Agents without a Mac build, test and run iOS apps through mac.doublespeed.ai (npm i -g @doublespeed/ds). Benchmark vs GitHub-hosted macOS runners: mac.doublespeed.ai/benchmark.