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

radar-devtools

v0.4.6

Published

Radar client SDK for React Native apps

Readme

radar-devtools

Client SDK for Radar - Unified DevTools for React Native.

Captures console logs, network requests, component tree, profiler data, performance metrics, storage, and state management data from your React Native app and sends it to the Radar desktop app for inspection.

Installation

npm install radar-devtools
# or: yarn add radar-devtools
# or: bun add radar-devtools

Then install the iOS pods:

cd ios && pod install

dependency or devDependency?

Both work. On Expo SDK 54+ (autolinking >=3.0.14, released Oct 2025), you can install as either — autolinking now picks up top-level devDependencies too. Since Radar is debug-only, devDependency is the more idiomatic choice there.

On Expo SDK ≤ 53 (and plain RN projects using Expo autolinking), install as a regular dependency. Older autolinkers skip devDependencies, so the native module won't register.

Quick Start

import { init } from 'radar-devtools'

if (__DEV__) {
  init()
}

That's it. Open the Radar desktop app and your device will appear automatically. The init() call is gated by __DEV__, so nothing runs in production builds.

Configuration

import { init } from 'radar-devtools'

if (__DEV__) {
  init({
    host: 'localhost',       // Radar app host (default: 'localhost')
    port: 8347,              // Radar app port (default: 8347)
    deviceId: 'my-device',   // Custom device identifier
    deviceName: 'My Phone',  // Custom device name

    // State management stores
    stores: {
      redux: { type: 'redux', store: myReduxStore },
      zustand: { type: 'zustand', store: useMyZustandStore },
    },
  })
}

State Management

Redux

import { configureStore } from '@reduxjs/toolkit'
import { init } from 'radar-devtools'

const store = configureStore({ reducer: rootReducer })

if (__DEV__) {
  init({
    stores: {
      main: { type: 'redux', store },
    },
  })
}

Zustand

import { create } from 'zustand'
import { init } from 'radar-devtools'

const useAppStore = create((set) => ({ ... }))

if (__DEV__) {
  init({
    stores: {
      app: { type: 'zustand', store: useAppStore },
    },
  })
}

Storage

Storage inspection works automatically if you have either library installed:

  • AsyncStorage (@react-native-async-storage/async-storage >= 1.0.0)
  • MMKV (react-native-mmkv >= 2.0.0)

Both are optional peer dependencies - install only what your app uses.

Babel Plugin

For source file tracing in the component tree, add the Babel plugin:

// babel.config.js
module.exports = {
  plugins: ['radar-devtools/babel-plugin'],
}

What Gets Captured

| Feature | How | |---------|-----| | Console logs | Patches console.log/warn/error/debug | | Network | Intercepts fetch() and XMLHttpRequest | | Component tree | Hooks into React DevTools global hook | | Profiler | Captures commit snapshots with render triggers | | Performance | Native metrics via TurboModules + JS event loop sampling | | Storage | Reads from AsyncStorage and/or MMKV | | State | Subscribes to Redux dispatch / Zustand store changes |

Physical Devices

For physical devices, point to your machine's local IP:

init({ host: '192.168.1.100' })

Requirements

  • React Native >= 0.72
  • React >= 18

License

MIT