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

@codemagic/patch-cli

v0.1.1

Published

Codemagic Patch CLI for releasing and managing over-the-air React Native updates

Readme

@codemagic/patch-cli

Command-line interface for releasing and managing over-the-air (OTA) React Native updates with Codemagic Patch. Provides the cmpatch command.

Requirements

  • Node.js >= 20

Install

npm install -g @codemagic/patch-cli

Quick start

# 1. Authenticate against your Codemagic Patch server
#    (opens the dashboard sign-in in your browser; add --no-browser to just
#     print the URL, or --token <cm_pat_...> for headless machines)
cmpatch login --server-url https://updates.example.com

# 2. Set up project defaults
cmpatch init

# 3. Publish a React Native bundle as an OTA release
cmpatch release-react --deployment Staging --dry-run   # preview first
cmpatch release-react --deployment Staging

Commands

| Group | Description | | --- | --- | | release | Publish, inspect, patch, promote, and roll back OTA releases. | | management | Manage apps, deployments, and deployment history. | | auth | Authenticate, manage tokens, and manage team members. | | diagnostics | Diagnose local setup and OTA readiness (cmpatch doctor). | | config | Store defaults and inspect the effective local context. | | fingerprint | Compute fingerprints and inspect device update logs. |

Use cmpatch help <group> for the commands in a group, cmpatch help <command> for per-command usage and examples, and cmpatch --version to print the CLI version.

Output formats

Most commands accept --format json|table. When stdout is a terminal, output defaults to a human-readable table; when piped, it defaults to JSON, so the CLI is directly scriptable:

cmpatch app list --format json | jq '.apps[].name'

Configuration

  • User config: ~/.codemagic-patch/config.json — CLI-wide defaults such as serverUrl and team. Credentials are stored per server in ~/.codemagic-patch/credentials.json. Set the CODEMAGIC_PATCH_HOME environment variable to relocate this directory.
  • Project config: codemagic-patch.config.json at your project root (or a codemagicPatch key in package.json) — per-project defaults such as app, deployment, and platform-specific overrides. Created by cmpatch init.

Explicit flags always take precedence over configured defaults. Run cmpatch context to inspect the effective configuration, and cmpatch doctor to diagnose setup issues.

License

Apache-2.0