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

@stewie-js/devtools

v0.2.0

Published

Browser overlay devtools for the Stewie framework

Readme

@stewie-js/devtools

Browser overlay devtools panel for the Stewie framework — similar to TanStack Devtools. Provides a floating panel with tabs for Renders, Stores, and Routes, plus a render highlight feature that flashes DOM nodes when reactive effects fire.

Install

pnpm add -D @stewie-js/devtools

Usage

Option A — In your app entry point

import { initDevtools } from '@stewie-js/devtools'

if (import.meta.env.DEV) {
  initDevtools()
}

Option B — Auto-injected by the Vite plugin

When using @stewie-js/vite, the devtools are automatically injected in development mode via the transformIndexHtml hook. No manual setup is needed.

Keyboard Shortcut

Press Alt+D to toggle the devtools panel open/closed.

Tabs

Renders

Shows a live log of reactive effect re-runs. Each entry displays the DOM element and attribute that triggered the update. Click any entry to flash-highlight the corresponding element in the viewport.

Includes a toggle to enable/disable the render highlight overlay.

Stores

Shows a live log of signal write events. Each entry displays the new value and a timestamp. Useful for tracking how often and when reactive state changes.

Routes

Shows the current URL pathname, query parameters, URL hash, and router params (if @stewie-js/router is in use). Also displays a navigation history list.

Render Highlight

When a reactive prop effect re-runs, the affected DOM element is briefly outlined with a blue flash overlay (rgba(56,189,248,0.25) fill, 2px solid outline). This makes it easy to see exactly which parts of the page are updating in response to state changes.

The highlight can be toggled on/off from the Renders tab.

API

import { initDevtools, destroyDevtools } from '@stewie-js/devtools'

// Mount the devtools panel
initDevtools()

// Unmount and clean up
destroyDevtools()