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-xenon

v2.4.0

Published

A powerful in-app debugging tool for React Native.

Downloads

388

Readme

React Native Xenon

A powerful in-app debugging tool for React Native.

GitHub Actions Workflow Status NPM Version React Native Runs With Expo Types Included GitHub License NPM Downloads Per Month Buy Me A Coffee

Features

  • :iphone: In-app debugging – Debug apps in any environment without the need for debug builds.
  • :globe_with_meridians: Network Inspection – Monitor HTTP(S) requests (XHR, Fetch) and WebSocket connections.
  • :page_with_curl: Log Capture – Intercept console messages like log, info, warn, and error for enhanced debugging.
  • :zap: Draggable Bubble UI – Seamlessly debug without disrupting your workflow.
  • :sparkles: React Native & Expo Support – Built for compatibility across both platforms.

Screenshots

preview

Supported react-native versions

| react-native-xenon version | react-native version | | ------------------------------ | ------------------------ | | 2.1.0+ | 0.80.0+ | | 1.0.0+ | 0.73.0+ |

Installation

Expo

If you are using Expo, just run this command and you're done. No additional configuration required.

npx expo install react-native-xenon react-native-safe-area-context react-native-screens

React Native

For bare React Native projects, install the packages and follow the additional peer dependency installation steps below.

yarn add react-native-xenon react-native-safe-area-context react-native-screens

[!NOTE] React Native Screens needs extra steps to finalize its installation, please follow their installation instructions.

iOS

Don't forget to install pods when you are developing for iOS.

cd ios && pod install; cd ..

Usage

Wrap your top-level component with <Xenon.Wrapper />.

import Xenon from 'react-native-xenon';

function AppContainer() {
  return (
    <Xenon.Wrapper>
      <App />
    </Xenon.Wrapper>
  );
}

Present the debugger by calling the show method.

Xenon.show();

And hide it by calling the hide method.

Xenon.hide();

Props

| Prop | Type | Description | | --------------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------- | | disabled | boolean | If true, completely disables the debugger by rendering only the children components without any debugging functionality. Defaults to false. | | autoInspectNetworkEnabled | boolean | Determines whether the network inspector is automatically enabled upon initialization. Defaults to true. | | autoInspectConsoleEnabled | boolean | Determines whether the console inspector is automatically enabled upon initialization. Defaults to true. | | bubbleSize | number | Defines the size of the interactive bubble used in the UI. Defaults to 40. | | idleBubbleOpacity | number | Defines the opacity level of the bubble when it is idle. Defaults to 0.5. | | includeDomains | string[] | Domains to include in network interception. Defaults to all domains. |

[!IMPORTANT] The debugger is enabled by default in all environments including production. To prevent exposing sensitive developer tools to end users, always set disabled={true} in production builds (e.g., disabled={isProduction}).

Methods

| Method | Return Type | Description | | ------------- | --------------- | ------------------------------------------------------------------------------------------- | | isVisible() | boolean | Checks whether the debugger is currently visible. | | show() | void | Makes the debugger visible. If it is already visible, this method has no additional effect. | | hide() | void | Hides the debugger. If it is already hidden, this method has no additional effect. |

Examples

To try out Xenon, you can run the example project:

# Clone the repo
git clone https://github.com/purrseus/react-native-xenon.git
cd react-native-xenon

# Install dependencies
yarn install

# Start the Expo development server
yarn example start

See the example directory for more information.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

This project is MIT licensed.