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

@devframes/plugin-inspect

v0.9.18

Published

Devframe plugin that inspects the RPC registry, shared state, and agent surface of a connection.

Readme

@devframes/plugin-inspect

[!WARNING] Experimental This devframe is experimental and may change without a major version bump until it stabilizes.

A built-in devframe that inspects its own connection (and, when mounted in a hub, the hub's): browse every registered RPC function with its metadata, invoke read-only query/static functions and inspect the results, watch shared-state keys update live, explore the agent-exposed API, and (while running against a live backend) list the other devframe dev servers running alongside it.

Ported in spirit from the RPC & State panels of vitejs/devtools; rebuilt on devframe's framework-neutral client (connectDevframe, rpc.sharedState) with a Vue + Vite SPA.

Use it standalone

pnpx @devframes/plugin-inspect

Opens the inspector against a fresh standalone devframe connection, useful as a reference and for poking at the introspection RPCs themselves.

Mount into a Vite host

// vite.config.ts
import createInspectDevframe from '@devframes/plugin-inspect'
import { devframeVite } from '@devframes/vite/single'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [
    devframeVite(createInspectDevframe()),
  ],
})

Programmatic

import { createInspectDevframe } from '@devframes/plugin-inspect'

const devframe = createInspectDevframe({ port: 9100 })

RPC

All functions are namespaced devframes:plugin:inspect:*:

| Function | Type | What it returns | |----------|------|-----------------| | list-functions | query (snapshot) | Every registered RPC function with metadata (type, JSON-serializable/snapshot flags, args/return JSON Schema, agent exposure). | | invoke | action | Invokes a read-only query/static function by name and returns a result envelope. Refuses action/event functions. | | list-state-keys | query (snapshot) | The keys of every shared-state entry on the connection. | | describe-agent | query (snapshot) | The agent manifest: tools and readable resources. | | list-instances | query (live) | Every devframe dev server currently running on the machine, discovered through the shared instance registry. Powers the read-only Instances tab. |

The three snapshot query functions are agent-exposed (read-only) and bake into the static dump, so the inspector still lists functions, state keys, and the agent-exposed API when deployed as a static SPA. list-instances is live rather than baked (the set of running processes is meaningless in a static dump), so the Instances tab appears only against a live backend.