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

devconnect-manage-kit

v1.0.3

Published

DevConnect Manage Kit - React Native SDK for debugging. Auto-intercepts fetch, axios, console.log, Redux, MobX, Zustand, Jotai, Valtio, XState, AsyncStorage, MMKV, EncryptedStorage, WatermelonDB, SQLite, Realm, Firebase, OAuth2

Readme

DevConnect Manage Kit — React Native SDK

npm License: MIT React Native

Debug your React Native app with DevConnect Manage Tool — network, state, logs, storage, performance — all in one desktop tool.

Install

yarn add devconnect-manage-kit
# or
npm install devconnect-manage-kit

Quick Start

import { DevConnect } from 'devconnect-manage-kit';

await DevConnect.init({ appName: 'MyApp' });
// Done. fetch + XHR + console auto-captured.

Config

await DevConnect.init({
  appName: 'MyApp',
  appVersion: '1.0.0',
  host: undefined,              // undefined = auto-detect, '192.168.1.5' = manual
  port: 9090,                   // default: 9090
  enabled: __DEV__,             // false in production
  autoInterceptFetch: true,     // true = auto-capture all fetch requests
  autoInterceptXHR: true,       // true = auto-capture all XHR requests
  autoInterceptConsole: true,   // true = auto-capture console.log/warn/error
});

Disable specific auto-intercepts if you want manual control:

await DevConnect.init({
  appName: 'MyApp',
  autoInterceptFetch: false,    // disable auto — use manual reportNetworkStart/Complete
  autoInterceptXHR: false,      // disable auto
  autoInterceptConsole: false,  // disable auto — use DevConnect.log/warn/error manually
});

Features

Network

Auto-captured: fetch, XHR, axios, got, ky, superagent, apisauce, Apollo, urql, TanStack Query, SWR, RTK Query.

// Axios (optional, for extra tagging)
import { setupAxiosInterceptor } from 'devconnect-manage-kit';
setupAxiosInterceptor(axios);

Logs

Auto-captured: console.log, console.debug, console.info, console.warn, console.error, console.trace.

DevConnect.log('User logged in');
DevConnect.debug('Debug info', 'Auth');
DevConnect.warn('Warning');
DevConnect.error('Error', 'Tag', stackTrace);

State

Supports: Redux, Redux Toolkit, MobX, Zustand, Jotai, Valtio, XState.

// Redux Toolkit
import { configureStore } from '@reduxjs/toolkit';
import { devConnectReduxMiddleware } from 'devconnect-manage-kit';

const store = configureStore({
  reducer: rootReducer,
  middleware: (getDefault) =>
    __DEV__ ? getDefault().concat(devConnectReduxMiddleware) : getDefault(),
});
// Zustand
import { devConnectMiddleware } from 'devconnect-manage-kit';

const useStore = create(
  devConnectMiddleware(
    (set) => ({ count: 0, increment: () => set((s) => ({ count: s.count + 1 })) }),
    'CounterStore'
  )
);

Storage

Supports: AsyncStorage, MMKV, Encrypted Storage, WatermelonDB, SQLite, Realm.

Each library has 2 options: auto (wrap once, everything reported) or manual (you control what gets reported). Choose per library.

AsyncStorage

// Option 1: Auto — patch once, all getItem/setItem/removeItem auto-reported
import { DevConnectAsyncStorage } from 'devconnect-manage-kit';
DevConnectAsyncStorage.patchInPlace(AsyncStorage);
await AsyncStorage.setItem('token', 'abc');  // auto-reported
await AsyncStorage.getItem('token');          // auto-reported

// Option 2: Manual — don't patch, report only what you want
import { DevConnectStorage } from 'devconnect-manage-kit';
const storage = new DevConnectStorage('async_storage');
await AsyncStorage.setItem('token', 'abc');
storage.reportWrite('token', 'abc');          // only this gets reported

MMKV

// Option 1: Auto
import { DevConnectMMKV } from 'devconnect-manage-kit';
DevConnectMMKV.wrap(storage);
storage.set('token', 'abc');  // auto-reported

// Option 2: Manual
import { DevConnectStorage } from 'devconnect-manage-kit';
const mmkvReporter = new DevConnectStorage('mmkv');
storage.set('token', 'abc');
mmkvReporter.reportWrite('token', 'abc');

Encrypted Storage

// Option 1: Auto (values masked as ***)
import { DevConnectEncryptedStorage } from 'devconnect-manage-kit';
DevConnectEncryptedStorage.patchInPlace(EncryptedStorage);
await EncryptedStorage.setItem('token', 'secret');  // auto-reported as ***

// Option 2: Manual — control what value is shown
import { DevConnectStorage } from 'devconnect-manage-kit';
const encReporter = new DevConnectStorage('encrypted_storage');
await EncryptedStorage.setItem('token', 'secret');
encReporter.reportWrite('token', '<hidden>');  // you choose what to show

WatermelonDB (manual only)

import { DevConnectWatermelon } from 'devconnect-manage-kit';
const watermelon = new DevConnectWatermelon();

const posts = await postsCollection.query().fetch();
watermelon.reportQuery('Post', posts.length);

await database.write(async () => {
  await postsCollection.create(post => { post.title = 'Hello'; });
});
watermelon.reportWrite('Post', { title: 'Hello' });

SQLite (manual only)

import { DevConnectSQLite } from 'devconnect-manage-kit';
const sqlite = new DevConnectSQLite();

const results = await db.executeSql('SELECT * FROM users');
sqlite.reportQuery('SELECT * FROM users', results[0].rows.raw());

await db.executeSql('INSERT INTO users (name) VALUES (?)', ['John']);
sqlite.reportExecute('INSERT INTO users (name) VALUES (?)', { name: 'John' });

Realm (manual only)

import { DevConnectRealm } from 'devconnect-manage-kit';
const realm = new DevConnectRealm();

const users = realmInstance.objects('User');
realm.reportQuery('User', users.length);

realmInstance.write(() => { realmInstance.create('User', { name: 'John' }); });
realm.reportWrite('User', { name: 'John' });

Generic (any key-value store)

import { DevConnectStorage } from 'devconnect-manage-kit';
const custom = new DevConnectStorage('my_custom_store');
custom.reportWrite('key', 'value');
custom.reportRead('key', 'value');
custom.reportDelete('key');

Performance

DevConnect.reportPerformanceMetric({ metricType: 'fps', value: 58.5, label: 'JS Thread FPS' });

Benchmark

DevConnect.benchmark('loadUserData');
await fetchUser();
DevConnect.benchmarkStep('loadUserData', 'fetched user');
await fetchPosts();
DevConnect.benchmarkStop('loadUserData');

Custom Commands

DevConnect.registerCommand('clearCache', () => {
  AsyncStorage.clear();
  return { success: true };
});

Production Safety

Disabled by default when __DEV__ is false — zero runtime overhead. Metro bundler strips __DEV__ blocks in production.

// Explicitly disable
DevConnect.init({ appName: 'MyApp', enabled: false });

Links

License

MIT - by ridelinktechs