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-async-storage-manager

v1.1.42

Published

AsyncStorage Manager component for React Native - Dev tools

Readme

AsyncStorage Manager

A lightweight, dev-only package for managing AsyncStorage in React Native apps. Simple floating button UI to view, add, edit, delete, and manage all AsyncStorage items during development.

Features

  • ✅ View all AsyncStorage items
  • ✅ Add new key-value pairs
  • ✅ Edit existing values
  • ✅ Delete individual items
  • ✅ Clear all AsyncStorage
  • ✅ Copy values to clipboard (optional)
  • ✅ Simple floating button
  • ✅ Dev mode only (automatically disabled in production)
  • No TurboModuleRegistry errors - safe lazy loading

Installation

Step 1: Install the package

npm install react-native-async-storage-manager
# or
yarn add react-native-async-storage-manager

Step 2: Install peer dependencies

npm install @react-native-async-storage/async-storage @react-native-clipboard/clipboard
# or
yarn add @react-native-async-storage/async-storage @react-native-clipboard/clipboard

Note: @react-native-clipboard/clipboard is optional. The package works without it, but copy functionality won't be available.

Step 3: iOS Setup (if using CocoaPods)

cd ios && pod install && cd ..

Usage

Simply import and add the component to your root component (e.g., App.tsx). The package is safe to import at the top level without causing TurboModuleRegistry errors:

import React from 'react';
import AsyncStorageManager from 'react-native-async-storage-manager';

export default function App() {
  return (
    <>
      {/* Your app components */}
      <YourAppContent />
      
      {/* Add AsyncStorageManager - only shows in dev mode */}
      <AsyncStorageManager />
    </>
  );
}

That's it! A floating button (⚙️) will appear in the bottom-right corner in dev mode.

How It Works

  1. Floating Button: A simple button appears in the bottom-right corner (only in dev mode)
  2. Modal: Tap the button to open a modal showing all AsyncStorage items
  3. Manage Storage:
    • View all key-value pairs
    • Add new items
    • Edit existing values
    • Delete items
    • Clear all storage
    • Copy values to clipboard (if clipboard package is installed)

Requirements

  • React Native 0.60+
  • React 16.8+ (hooks support)
  • Dev mode only (__DEV__) - automatically disabled in production builds

Peer Dependencies

  • react - React library
  • react-native - React Native framework
  • @react-native-async-storage/async-storage - Required - AsyncStorage implementation
  • @react-native-clipboard/clipboard - Optional - For copy to clipboard functionality

Why This Package?

  • Lightweight: Only 2 peer dependencies (1 required, 1 optional)
  • Simple: Uses React Native's built-in Modal - no heavy UI libraries
  • Safe: Lazy loads all modules to prevent TurboModuleRegistry errors
  • Zero Config: Works out of the box when imported in App.tsx

Troubleshooting

TurboModuleRegistry Error

This package is designed to prevent TurboModuleRegistry errors by:

  • Lazy loading all React Native modules (not importing at the top level)
  • Delaying module initialization until after the native bridge is ready (100ms delay)
  • Using safe error handling to prevent crashes

If you still see this error:

  1. Clear Metro cache:

    npm start -- --reset-cache
  2. Rebuild the app:

    # iOS
    cd ios && pod install && cd .. && npx react-native run-ios
       
    # Android
    npx react-native run-android

The package uses a 100ms delay before loading modules to ensure the native bridge is fully initialized, which prevents TurboModuleRegistry errors when imported in App.tsx.