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

@gluonjs/devtools

v1.14.0

Published

Opt-in Gluon development bridge, browser inspector, and Vite integration.

Readme

@gluonjs/devtools

Gluon Devtools is explicitly opt-in. createDevtoolsBridge() defaults to enabled: false, installs no render hook, and exposes no global. Development entry points enable it deliberately and register each application root with an independent ID plus optional Router, Store, state, and context inspectors. Source navigation is carried only through bounded, redacted location metadata; production paths and excerpts are never surfaced. Pass navigateToSource to mountGluonDevtools() when the application has an editor integration. Gluon never constructs an editor URI, opens a remote connection, or navigates without that callback.

@gluonjs/devtools at a glance

Runtime: browser · Release: 1.14.0

Documentation guide · npm · Source

Public API: @gluonjs/devtools

Install

npm install @gluonjs/devtools

Quick start

import { createDevtoolsBridge, mountGluonDevtools } from '@gluonjs/devtools';

const bridge = createDevtoolsBridge({ enabled: true });

Choose this package when

  • Development-only inspection of application, component, render, Router, and Store state.
  • Explicit opt-in bridges and app-root registration.
  • Browser inspector integration with optional Vite support.

Choose another boundary when:

  • Disabled by default and never exposes a global automatically.
  • Development tooling only; not part of production app behavior.

Related documentation

Inspect an application

import { createApp, html } from '@gluonjs/core';
import {
  createDevtoolsBridge,
  mountGluonDevtools,
} from '@gluonjs/devtools';

const root = document.querySelector<HTMLElement>('#app');
if (!root) throw new Error('Missing #app');

const app = createApp(() => html`<main>GLUON GOODS</main>`);
app.mount(root);
const bridge = createDevtoolsBridge({ enabled: true, exposeGlobal: true });
const unregister = bridge.registerApplication({
  id: 'shop',
  name: 'GLUON GOODS',
  app,
  root,
  state: () => ({ bagCount: 1 }),
});
const panel = mountGluonDevtools(bridge);

panel.unmount();
unregister();
bridge.dispose();
app.unmount();

Render records include scheduling causes, reactive dependency counts, timing, failure, and error data from the public Core debug hook. Router after-hooks and Store subscriptions feed one ordered protocol timeline. Host integrations can record scheduler, emitted-event, and error facts explicitly.

The package includes browser-inspector.manifest.json in its published files and exports the matching createDevtoolsArtifactContract() result from the supported package root. The manifest describes the ESM inspector export, protocol version, serve-only runtime, callback-only redacted source navigation, empty permission list, and disabled remote inspection. The release gate validates the manifest against both the built declarations and the actual npm pack --dry-run file list.

bridge.handshake() exposes the versioned @gluonjs/devtools-api capability contract to external panels. Consumers can negotiate this before reading bridge.snapshot() or subscribing to the timeline.

gluonDevtoolsPlugin() exposes virtual:gluon-devtools: its bridge is enabled and globally discoverable only for Vite serve; production build emits a disabled bridge. The browser inspector lists registered applications, shows the selected application snapshot and filtered timeline in a Shadow DOM panel with a constructable stylesheet, and surfaces safe source labels only when a component or timeline record honestly carries one.

License

MIT License, Copyright © 2026 Marc Malerei.