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

@aleksandar-argead/roz-keychain-plugin

v0.1.0

Published

A Rozenite plugin for inspecting react-native-keychain credentials in React Native DevTools.

Readme

rozenite-keychain-plugin

A Rozenite plugin that provides Keychain inspection for React Native applications.

It lets you inspect and manage the credentials stored by react-native-keychain directly from your React Native DevTools environment.

Features

  • Credential Inspection: View every generic-password service stored in the Keychain
  • Reveal on Demand: Passwords are masked by default and revealed per row
  • Data Management: Add, edit, and delete credentials from the DevTools panel
  • Search & Filter: Quickly find services by name
  • Blacklist Filtering: Hide sensitive services using a regex pattern
  • Agent Tools: Read and mutate credentials programmatically through Rozenite for Agents

Installation

Install the plugin as a dependency:

npm install rozenite-keychain-plugin

Note: This plugin requires react-native-keychain as a peer dependency:

npm install react-native-keychain

You also need a project that has Rozenite configured.

Quick Start

1. Install the Plugin

npm install rozenite-keychain-plugin react-native-keychain

2. Integrate with Your App

Add the DevTools hook to your React Native app and pass in the Keychain module:

// App.tsx
import * as Keychain from 'react-native-keychain';
import { useKeychainDevTools } from 'rozenite-keychain-plugin';

function App() {
  // Enable Keychain DevTools
  useKeychainDevTools({
    keychain: Keychain,
  });

  return <YourApp />;
}

With blacklist filtering:

function App() {
  useKeychainDevTools({
    keychain: Keychain,
    // Hide any service containing "internal" or the exact "refreshToken" service.
    blacklist: /.*internal.*|^refreshToken$/,
  });

  return <YourApp />;
}

3. Access DevTools

Start your development server and open React Native DevTools. You'll find the Keychain panel in the DevTools interface.

How It Works

react-native-keychain stores generic passwords per service. This plugin enumerates all services via getAllGenericPasswordServices() and reads each credential with getGenericPassword({ service }).

Because the Keychain does not emit change events, the panel loads a snapshot on connect and provides a Refresh button to re-read the current state. Credentials created, edited, or deleted from the panel update immediately.

Note: Internet credentials (getInternetCredentials / setInternetCredentials) are not enumerated because react-native-keychain does not expose an API to list them. This plugin focuses on generic passwords.

Usage

Once the hook is active, the panel provides:

  • Service List: Every stored generic-password service
  • Reveal Passwords: Toggle password visibility per credential
  • Search: Filter credentials by service name
  • Backend Indicator: The secure storage backend reported by the Keychain (when available)
  • Add / Edit / Delete: Manage credentials directly from the DevTools panel

Agent Tools

This plugin ships Rozenite for Agents tools via the rozenite-keychain-plugin/sdk entry point:

  • list-credentials
  • read-credential
  • create-credential
  • edit-credential
  • remove-credential

Development

# Install dependencies
npm install

# Start the Rozenite dev host
npm run dev

# Type-check
npm run typecheck

# Build for publishing
npm run build

License

MIT