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-auto-shimmer-rozenite-plugin

v0.0.4

Published

Rozenite DevTools plugin for react-native-auto-shimmer — visual skeleton inspector

Readme

react-native-auto-shimmer-rozenite-plugin

Rozenite DevTools plugin for react-native-auto-shimmer — capture pixel-perfect skeletons directly from your running app with visual verification before saving.

How it works

App (simulator)                     React Native DevTools
┌─────────────────────┐             ┌──────────────────────────────┐
│  <SkeletonCapture   │  Rozenite   │  Skeleton Inspector panel    │
│    name="card">     │◄──bridge───►│                              │
│    <MyCard />       │             │  MOUNTED COMPONENTS          │
│  </SkeletonCapture> │  measure    │  ▶ card   ← select           │
│                     │──────────►  │                              │
│  UIManager.measure  │  skeletons  │  ○  Capture                  │
│  walks fiber tree   │──────────►  │  14 skeletons · 408 × 325 dp    │
└─────────────────────┘             │                              │
                                    │  ┌────────────────────────┐  │
                                    │  │  1 ████████████████   │  │
                                    │  │  2 ████████           │  │
                                    │  │  3 ██ ██ ██           │  │
                                    │  └────────────────────────┘  │
                                    │                              │
                                    │  ↓  Save skeletons.json          │
                                    └──────────────────────────────┘
                                              │
                                    src/skeletons/card.skeletons.json ✓

Installation

yarn add -D @rozenite/metro react-native-auto-shimmer-rozenite-plugin

Setup

1. metro.config.js

const { getDefaultConfig } = require('@expo/metro-config');
const { withRozenite } = require('@rozenite/metro');

let config = getDefaultConfig(__dirname);

if (process.env.WITH_ROZENITE === 'true') {
  config = withRozenite(config, {
    enabled: true,
    include: ['react-native-auto-shimmer-rozenite-plugin'],
  });
}

module.exports = config;

2. App entry (App.tsx / index.js)

if (__DEV__) {
  const { getRozeniteDevToolsClient } = require('@rozenite/plugin-bridge');
  const setupPlugin = require('react-native-auto-shimmer-rozenite-plugin').default;

  getRozeniteDevToolsClient('react-native-auto-shimmer')
    .then((client) => setupPlugin(client))
    .catch((e) => console.warn('[SkeletonInspector]', e?.message));
}

3. Wrap components

import { Skeleton, SkeletonCapture } from 'react-native-auto-shimmer';

// SkeletonCapture must sit INSIDE Skeleton
<Skeleton loading={loading} initialSkeletons={cardSkeletons} style={styles.card}>
  <SkeletonCapture name="card">
    <MyCard />
  </SkeletonCapture>
</Skeleton>

Usage

# Start Metro with Rozenite enabled
WITH_ROZENITE=true yarn start
  1. Run your app in the simulator
  2. Navigate to a screen that has <SkeletonCapture> wrapped components
  3. Turn Loading OFF on that screen so real content is visible (not opacity: 0)
  4. Open React Native DevToolsRozeniteSkeleton Inspector
  5. Select a component under Mounted Components
  6. Click ⬡ Capture — skeletons are measured from the live layout
  7. Review the numbered colour overlay; click the 🗑 trash icon on any row to delete unwanted skeletons
  8. Click ↓ Save skeletons.json — the file is written to the Output directory shown in the sidebar (default: src/skeletons/)

Building the plugin

cd packages/rozenite-skeleton-inspector
yarn install
yarn build

The built dist/ is automatically discovered by Rozenite when this package is installed.