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

@expo/snapback-app-cli

v0.1.29

Published

Artifact-driven local Snapback application CLI for agent journeys.

Readme

@expo/snapback-app-cli

@expo/snapback-app-cli provides the snapback-app command: an agent-facing terminal over one generated Snapback application. It discovers operations from digest-verified artifacts or a served API envelope, validates argument contracts, and can introspect, call, subscribe, emit types, or run bounded code mode without importing application source.

This package is optional. Install it directly when an agent or automation needs the generic application-data terminal. Use @expo/snapback-cli for project creation, codegen, the development server, testing, administration, and deployment; snapback-app does not replace that lifecycle CLI and carries no ambient admin authority.

Inspect and call an application

In an existing Snapback application, add the optional package and generate the backend artifacts first (the application already carries snapback through @expo/snapback-cli):

npm install --save-dev @expo/snapback-app-cli
snapback generate snapback
snapback-app --artifacts ./snapback/generated introspect

introspect is the safest first step. It emits a bounded, value-free digest of the app's schemas, operations, capability facts, and gaps. It does not import the generated API module or handler bundle.

To call a function on a running local target, choose authority explicitly and replace listTodos with a name returned by introspect:

snapback-app \
  --server http://127.0.0.1:4287 \
  --artifacts ./snapback/generated \
  --principal dev \
  --dev-user user_ada \
  --args-json '{}' \
  call listTodos

Anonymous is the default even when credential material exists. Session and agent lanes require explicit file-backed custody. The shipped engine is a local-target surface; hosted targets do not currently advertise the app-CLI capability.

Documentation outside a checkout

A running Snapback server serves the Guide compiled into that exact build. These links use the first default development port; use the origin printed by snapback dev or snapback start if yours differs.

  • Follow the app CLI guide for introspection, principals, subscriptions, pairing, and code mode.
  • Read generated artifact custody for the files this command trusts.
  • Read first: the start packets — the budgeted per-template first read (LLP 0259).
  • Look up (do not linear-read) the capability index for the current local and hosted claim boundary.
  • Run snapback guide or snapback guide <query> to browse or search the embedded Guide.
  • Run snapback mcp for the same build-bound corpus as read-only MCP resources, starting at snapback-guide://manifest.

Operate it

snapback mcp serves read-only Guide resources; snapback mcp-control adds typed control tools with local admin authority. Preview control setup with snapback agent setup --print <client> --server mcp-control.