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

stim-cli

v1.0.0-rc.23

Published

Stim: fast, isolated React Native environments for coding agents

Readme

Stim

The stim-cli npm package installs the stim command.

Stim gives coding agents fast, isolated React Native and Expo environments. Each project or git worktree gets its own Metro port and owned device. Shared caches keep native and JavaScript builds warm across worktrees.

Install

npm install --global stim-cli
npx skills add appandflow/stim

Run without a global install when needed:

npx stim-cli <command>

Node 20.19.4 or later on Node 20, or Node 22.12.0 or later, is required.

Machine defaults in ~/.stim/config.json can enable or disable native artifact caching, remote caches, Metro sharing, iOS compiler caching and prefix mapping, and Android ccache/CAS, PCH, Gradle caching, and target ABI narrowing. Optional .stim.json overrides apply per repository. Run stim guide settings for the optimizations schema; existing defaults remain unchanged.

Normal workflow

stim doctor
stim start
stim ios                  # or: stim android
stim logs --errors
stim stop

For stim logs --errors, a clean check requires exit code 0 and no matching errors in the captured logs. Exit code 0 alone means the query succeeded, even when it prints errors; an empty result does not prove launch or log capture succeeded.

Use stim doctor --platform ios or stim doctor --platform android when only one native platform is in scope; shared project checks still run. Doctor also prints the running CLI version and the stim installation resolved from PATH, and flags a resolved installation that is older than another available one.

For stale Android CMake launcher findings, stop native builds and run stim doctor --fix --platform android in the affected checkout. It clears affected ignored, untracked generated .cxx configurations in the app and installed native modules, then reports remaining findings. The next build recreates that output; source files, custom launcher settings, and shared ccache entries are preserved. Its cache-lock check cannot detect uncached, release-swap fallback, or direct Gradle builds; stop all native builds first.

Stim builds or restores the app, installs it, launches it, and checks launch readiness. Plain output streams progress and reports the complete result. Use --json when a script needs structured data.

Launch evidence does not prove that the UI is interactive. Apps can optionally declare readiness with two debug log messages, without a package or SDK. A captured pending message extends the default three-second stability window after bundle delivery to a bounded wait for ready. Managed Metro response capture distinguishes a finished build from a finished response; servers without capture use the build-complete marker. Run stim guide lifecycle readiness for implementation instructions; verify the expected screen separately.

stim reload [ios|android] requests a JavaScript reload in the live app on this workspace's owned local device. Use it after a failed first bundle load, when an error screen remains after a fix, or when you explicitly need an app restart. It is not part of the normal workflow and does not build, install, boot, or launch an app. The platform is optional when only one app is live. Success confirms that the request was sent; Stim does not observe completion. Verify the expected UI on the reported device and inspect stim logs --errors before claiming recovery.

For an isolated branch, create the worktree with Git, then warm it:

git worktree add -b feature/settings ../feature-settings HEAD
cd ../feature-settings
stim worktree warm

If a harness already created the linked worktree, run only stim worktree warm there. Warm copies missing ignored state from main, including eligible .env and local configuration files. Existing entries are preserved; existing ignored directories such as node_modules are skipped whole.

After the work is preserved, stim worktree remove removes any linked worktree, warmed or not. Git-created branches stay. See the worktree guide for exclusions and cleanup rules.

Reference

The documentation website explains the human workflow and all commands.

The installed CLI contains version-matched operational guidance:

stim guide agent
stim --help
stim <command> --help
stim guide

Runtime state defaults to ~/.stim. Set STIM_HOME to move it. Stim manages owned simulators and emulators, leases connected physical devices, and supports configured remote devices.

Package name

The product and command are named Stim. The npm package remains stim-cli until the unscoped stim package name is available.

MIT License.