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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@react-overlay-manager/devtools

v0.2.3

Published

Developer tools for React Overlay Manager - visual debugging and management interface

Downloads

1,039

Readme

@react-overlay-manager/devtools

Developer tools for react-overlay-manager that provide real-time visualization and debugging capabilities for overlay management.

Highlights

  • Real-time state: Inspect the current overlay stack with live updates
  • Interactive debugging: Close and Show/Hide overlays, copy ID and props JSON, and view basic metadata
  • Search & sort: Filter by name/ID, sort by Recent, Visible first, or Name
  • Professional UX: Draggable panel, resizable via bottom bar and bottom-right corner, position/size persist across sessions
  • Quick access: Floating badge button (draggable) shows active count; keyboard shortcuts to toggle/close
  • Development-only: Automatically a no-op in production builds

Installation

pnpm add -D @react-overlay-manager/devtools
# or: npm i -D @react-overlay-manager/devtools

Usage

Render the DevTools next to your OverlayManager. It automatically renders nothing in production.

import { OverlayManagerDevtools } from '@react-overlay-manager/devtools';
import {
  OverlayManager,
  createOverlayManager,
} from '@react-overlay-manager/core';

const manager = createOverlayManager(yourRegistry);

function App() {
  return (
    <>
      {/* Your app content */}
      <OverlayManager manager={manager} />
      {/* DevTools renders only in development */}
      <OverlayManagerDevtools manager={manager} />
    </>
  );
}

UI/UX Details

  • Floating button

    • Bottom-right by default, shows label "Overlays" and a live count
    • Draggable; position persists while the app is running
    • Click to open the panel
  • Panel

    • Drag to move: grab the header to reposition the window; position is clamped to the viewport and persisted
    • Resize: drag the bottom bar (height) or the bottom-right corner (width & height); size persists
    • Search & sort: filter by name or ID; sort by Recent, Visible first, or Name
    • List: shows each overlay with a visibility badge and ID
    • Details: when selected, see component name, ID, visibility, props (pretty/raw), and actions
      • Actions: Close; Show/Hide toggle; Copy ID; Copy props JSON
  • Keyboard shortcuts

    • Toggle open/close: Ctrl/⌘ + Shift + O
    • Close panel: Escape
    • Shortcuts are ignored while typing in input, textarea, or contenteditable targets

Development

  • DevTools are exported as OverlayManagerDevtools, which is a pass-through to the real component in development and a null component in production
  • Built with React + TypeScript and inline styles to avoid conflicts

Building

cd packages/devtools
pnpm build

Contributing

Contributions welcome! Please run the test suite in the monorepo root before submitting PRs.