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

react-native-stallion

v2.4.0

Published

Offical React Native SDK for Stallion

Downloads

18,243

Readme

stallionBanner

React Native Stallion – Best CodePush Alternative & Expo Updates Replacement

npm Version
License

React Native Stallion is the modern CodePush alternative and App Center replacement for React Native apps. Ship app updates instantly with up to 98% smaller patches (depending on changes)—no app store resubmission required for JavaScript updates. The best Expo Updates alternative with advanced OTA controls, patch-based updates, and advanced security features.

👉 Sign up with Stallion to start shipping OTA updates today


Why Choose React Native Stallion?

React Native Stallion is the best CodePush alternative for teams that need modern OTA update capabilities:

  • Up to 98% Smaller Patch Updates (Depending on Changes) – Binary-safe differential updates, not full bundles
  • Automatic Rollback & Crash Recovery – Instant rollback on crashes or failures
  • Advanced Security Features – Cryptographic bundle signing with customer keys
  • No App Store Resubmission for JavaScript Updates – Ship JavaScript updates instantly
  • CodePush Compatible – Easy migration from CodePush or App Center
  • Advanced Analytics – Release-wise adoption and failure tracking
  • On-Premise Option – Self-hosted deployment with a security-focused architecture
  • Free Tier Available – Perfect for indie devs and small teams

Quick Start

Installation

npm install react-native-stallion@latest

Basic Usage

import { useStallionUpdate, restart } from 'react-native-stallion'

const UpdateModal = () => {
  const { isRestartRequired, newReleaseBundle } = useStallionUpdate()

  if (!isRestartRequired) return null

  return (
    <Modal visible>
      <Text>{newReleaseBundle?.releaseNote || 'Update ready!'}</Text>
      <Button onPress={restart} title="Restart App" />
    </Modal>
  )
}

Key Features

Patch Updates (Up to 98% Smaller, Depending on Changes)

React Native Stallion uses binary-safe differential updates instead of full bundles. Ship only what changed—tiny patches that are cryptographically verified and applied atomically.

  • Differential/Patch Updates – Binary-safe diffs, up to 98% smaller than full bundles (depending on changes)
  • Bandwidth Efficiency – Minimal data transfer for faster installs
  • Instant Updates – Users never notice the update process

Automatic Rollback & Crash Recovery

Protect your users with automatic rollback capabilities:

  • Automatic Rollback – Instant rollback on crashes or failures
  • Crash Loop Prevention – Prevents bad updates from breaking your app
  • Manual Rollback – Device-level revert for installed updates
  • Rollback Analytics – Track rollback rates and reasons

Security-Focused Architecture

Advanced security features for production apps:

  • Bundle Signing – Cryptographic verification with customer-managed keys
  • Integrity Verification – SHA-256 checksums for tamper-proof updates
  • On-Premise Hosting – Deploy behind your firewall with full control
  • Privacy-Focused Architecture – Supports regional data residency

Advanced OTA Controls

Granular control over update deployment:

  • Mandatory & Optional Updates – CodePush-style update flows
  • Phased Rollout – Gradual deployment with percentage controls
  • Custom Update UI – Build custom modals, banners, or prompts
  • Update Strategy Control – Granular install strategies
  • Background Updates – Automatic checks when app moves to foreground

🔧 Installation & Setup

Step 1: Install the Package

npm install react-native-stallion@latest
# or
yarn add react-native-stallion@latest

Step 2: Native Integration

For complete setup instructions, native integration steps, and environment configurations, visit:

📚 Full Installation Guide

Step 3: Configure Stallion

import { withStallion } from 'react-native-stallion'

export default withStallion(RootComponent);

Documentation & Resources

Complete Documentation

Migration Guides


Use Cases

CodePush Alternative

React Native Stallion is the best CodePush alternative for teams migrating from deprecated CodePush or App Center:

  • ✅ CodePush-compatible API
  • ✅ Patch updates (CodePush doesn't support)
  • ✅ Active development and support
  • ✅ Modern features and security

Expo Updates Replacement

The best Expo Updates alternative with more features:

  • ✅ Patch updates (up to 98% smaller, depending on changes)
  • ✅ Advanced OTA controls
  • ✅ More affordable pricing
  • ✅ Works with Expo SDK 52+ and bare React Native

Enterprise OTA Updates

Enterprise-ready OTA update solution:

  • ✅ On-premise hosting
  • ✅ Bundle signing with customer keys
  • ✅ Privacy-focused architecture
  • ✅ Supports regional data residency

Security Features

  • Cryptographic Bundle Signing – Customer-managed keys for tamper-proof updates
  • SHA-256 Integrity Verification – Automatic checksum validation
  • Automatic Crash Detection – Instant rollback on crashes
  • On-Premise Deployment – Full infrastructure control
  • Audit Logging – Complete audit trails

Enterprise & On-Premise

On-Premise Hosting

Take full control with self-hosted deployment:

  • Security-Focused Architecture – Behind your firewall
  • Complete Infrastructure Control – Your data centers
  • Privacy-Focused Architecture – Supports regional data residency
  • Seamless CI/CD – REST APIs and webhooks
  • Zero Vendor Lock-in – Full access to logs and metrics

Contact sales for on-premise hosting


Contributing

We welcome contributions! Please see the CONTRIBUTING.md file to get started.


Issues & Support


🔗 Links


React Native Stallion – The fastest, safest way to manage React Native OTA updates. The best CodePush alternative and Expo Updates replacement with patch-based updates, advanced security features, and up to 98% smaller deployments (depending on changes).