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

@novacraft-engineering/pulsar-code-push

v1.7.1

Published

Pulsar OTA client for React Native — over-the-air JavaScript updates. A CodePush-compatible client (RevoPush lineage) pointed at Pulsar.

Readme

@novacraft-engineering/pulsar-code-push

The React Native client for Pulsar OTA: over-the-air JavaScript updates for your app, with no app-store review. A maintained CodePush-compatible client for React Native, free to start, with self-hosting on paid plans.

This is a full CodePush client (native iOS + Android modules), not a wrapper. It is a fork of @revopush/react-native-code-push — itself the New-Architecture-maintained continuation of Microsoft's original react-native-code-push (archived March 2025). It speaks the CodePush protocol, so it works against any CodePush-compatible server; without a server URL it uses Pulsar (https://api.usepulsar.dev).

Why

Microsoft App Center CodePush shut down in March 2025 and Expo's EAS Update only covers Expo-managed projects. Pulsar keeps the CodePush protocol every bare React Native app already knows, adds staged rollouts, instant rollback, differential updates and per-release health metrics, and can be self-hosted. Read the full comparison at usepulsar.dev/codepush-alternative.

Install

yarn add @novacraft-engineering/pulsar-code-push
cd ios && pod install

Autolinking registers the native module on both platforms (RN 0.70+, New Architecture supported).

Point it at Pulsar

iOS — ios/<App>/Info.plist:

<key>CodePushDeploymentKey</key>
<string>YOUR_DEPLOYMENT_KEY</string>
<key>CodePushServerURL</key>
<string>https://api.usepulsar.dev</string>

Android — android/app/src/main/res/values/strings.xml:

<resources>
  <string moduleConfig="true" name="CodePushDeploymentKey">YOUR_DEPLOYMENT_KEY</string>
  <string moduleConfig="true" name="CodePushServerUrl">https://api.usepulsar.dev</string>
</resources>

Android reads CodePushServerUrl and iOS reads CodePushServerURL. Clients from 1.6.2 accept either spelling on both platforms; older ones silently ignore the wrong one.

Deployment keys are shown per app in the Pulsar dashboard.

Wrap your root component

import codePush from '@novacraft-engineering/pulsar-code-push';

function App() { /* … */ }

export default codePush({
  checkFrequency: codePush.CheckFrequency.MANUAL,
  installMode: codePush.InstallMode.ON_NEXT_RESTART,
})(App);

The full CodePush API is available — codePush.sync(), codePush.checkForUpdate(), SyncStatus, InstallMode, CheckFrequency, notifyAppReady(), rollout %, mandatory updates, binary-version targeting, differential updates, automatic rollback, and download/install telemetry (reported to Pulsar).

Ready-made update sheet

Instead of building your own prompt on top of checkForUpdate + sync, render the built-in sheet as the last child of your root component. It checks on launch and whenever the app returns to the foreground, skips updates the device already rolled back, and never fails a download on a timer.

import codePush from '@novacraft-engineering/pulsar-code-push';
import {PulsarUpdateSheet} from '@novacraft-engineering/pulsar-code-push/update';

function App() {
  return (
    <View style={{flex: 1}}>
      <Navigation />
      <PulsarUpdateSheet
        deploymentKey={DEPLOYMENT_KEY}
        serverUrl="https://api.usepulsar.dev"
        theme={{primary: '#4F46E5'}}
        labels={{updateNow: 'Update'}}
      />
    </View>
  );
}

export default codePush({checkFrequency: codePush.CheckFrequency.MANUAL})(App);

Props: deploymentKey, serverUrl, installMode (default ON_NEXT_RESTART), mandatoryInstallMode (default IMMEDIATE), minimumBackgroundDuration, checkInDev, theme (primary, background, text, mutedText, danger), labels (every string the sheet shows) and renderContent(update) to draw your own panel inside the sheet.

For a fully custom UI, use the hook the sheet is built on:

import {usePulsarUpdate} from '@novacraft-engineering/pulsar-code-push/update';

const {status, update, progress, slow, error, install, dismiss, retry, restart} = usePulsarUpdate({deploymentKey});

status is one of idle | checking | available | downloading | installing | installed | failed | upToDate. progress.hasRealProgress stays false until the first byte arrives (older iOS binaries report nothing until the download finishes), so show an indeterminate bar rather than an error. slow turns on after 30 seconds without bytes, or 20 seconds since the last one; it is a hint, not a failure. A failure only comes from the SDK.

Release descriptions can carry config tokens, stripped from the notes the user sees — before a leading | (silent, next-restart | What's new), on a trailing tags: / config: line, or as the whole description:

| Token | Effect | | --- | --- | | silent | download and install with no UI | | mandatory / forced | required update, no Later button | | immediate, next-restart, next-resume, next-suspend | install mode for this release | | no-pill / nopill | exposed as update.noPill for apps that show a progress pill |

parseUpdateConfig(description) is exported if you need the same parsing elsewhere.

Migrating from CodePush or RevoPush

Swap the import and point CodePushServerURL at Pulsar — the native modules, the JS API and the package-hash algorithm are unchanged, so devices already running your current bundle correctly report "up to date" instead of re-downloading it.

-import codePush from 'react-native-code-push';
+import codePush from '@novacraft-engineering/pulsar-code-push';

Releasing

Use the Pulsar CLI (@novacraft-engineering/pulsar-cli):

npx @novacraft-engineering/pulsar-cli release MyApp Staging --platform ios --target 1.0.0

Related

License

MIT. Original CodePush © Microsoft; RevoPush fork © Revopush; this Pulsar distribution © Novacraft Engineering. See LICENSE.