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

@artshin/rozenite-perf-recorder

v0.0.2

Published

Rozenite DevTools panel + agent tools for @artshin/expo-perf-recorder.

Readme

@artshin/rozenite-perf-recorder

npm License: MIT

A Rozenite React Native DevTools panel for the perf-recorder module. Shows live rolling stats (dumps, commits, React work, top fibers) and a Clear button.

It is fully standalone — it talks to the native module by its registered name (requireNativeModule("PerfRecorder")), so it imports nothing from the app.

Architecture

| Side | File | Role | |------|------|------| | App (RN) | src/react-native/usePerfRecorderDevTools.ts | Polls native getStats() every 2s, pushes to panel; handles request-stats / clear. | | Panel (web) | src/ui/perf-recorder.tsx | Renders stats; sends request-stats / clear. | | Shared | src/shared/messaging.ts | Typed event map + stats types. |

Requires the companion native module @artshin/expo-perf-recorder installed in the app — the panel reaches its native side by name.

Install

npm install --save-dev @artshin/rozenite-perf-recorder
# or: yarn add -D @artshin/rozenite-perf-recorder

The published dist/ already contains the built panel + app entry; Rozenite discovers the plugin from the package's rozenite.config.ts automatically.

Wire into the app

In your app's root layout, alongside the other Rozenite hooks:

import { usePerfRecorderDevTools } from "@artshin/rozenite-perf-recorder";
// ...
usePerfRecorderDevTools();

Run

WITH_ROZENITE=true yarn start     # from your app root

Open React Native DevTools → Perf Recorder tab. Requires the perf-recorder capture loop running (the :8097 sink caveat from the module applies — the native side only has stats once the capture loop ships dumps).

Query from Claude Code (agent tools)

The plugin registers Rozenite agent tools, so once it's running in the app you can query the live native stats from the CLI / Claude Code — no adb, no panel open:

# from your app root
SID=$(npx rozenite agent session create --json | jq -r '.sessionId')   # or note the id it prints
npx rozenite agent at-artshin__rozenite-perf-recorder call --tool get-stats --args '{}' --session "$SID"
npx rozenite agent at-artshin__rozenite-perf-recorder call --tool clear    --args '{}' --session "$SID"
npx rozenite agent session stop "$SID"

Tools:

  • get-statsPerfStats (dumpCount, totalCommits, totalReactCommitMs, topFibers, lastDump) from the live in-memory native counters.
  • clear{ cleared: boolean } — reset ring buffer + rolling stats.
  • list-dumpsPerfDumpListEntry[] (newest first): { name, sizeBytes, ingestedAt }.
  • get-dump{ name }PerfDumpSummary | null — re-analyses one persisted dump off-thread (roots, commits, fiberRecords, reactCommitMs, wallSec, topFibers).
npx rozenite agent at-artshin__rozenite-perf-recorder call --tool list-dumps --args '{}' --session "$SID"
npx rozenite agent at-artshin__rozenite-perf-recorder call --tool get-dump --args '{"name":"dump-1779830426509.json"}' --session "$SID"

The domain token is the pluginId with /__ and @/dots normalized: at-artshin__rozenite-perf-recorder. Confirm with npx rozenite agent domains --session "$SID".

Dev (panel hot reload)

yarn workspace @artshin/rozenite-perf-recorder dev