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

@spooder/webui-node-graph

v0.6.0

Published

The Spooder node graph editor - the canvas, palette and inspector that edit an event's graph, written against a host that supplies the data

Readme

@spooder/webui-node-graph

The Spooder node graph editor: the canvas, palette, inspector and node editors that edit one event's graph. It is written against a host - the app it's embedded in supplies the data and the pickers, so the same editor runs in the main WebUI and the mod UI.

Using it

import { EventNodes, NodeGraphHostProvider, setModuleSource } from '@spooder/webui-node-graph';

// Once, before the first graph renders: where installed WebUI modules come from.
setModuleSource({ getModules, subscribe });

<FormProvider {...form}>            {/* the event graphs form - see the module SDK's form keys */}
  <NodeGraphHostProvider host={host}>
    <EventNodes eventName={eventId} />
  </NodeGraphHostProvider>
</FormProvider>

Render it inside the component library's <ThemeProvider>; the stylesheet is bundled with the package and reads the theme variables that provider sets.

The host

NodeGraphHost (see src/host.tsx) is everything the editor needs from the app:

  • events - node manifest, operation nodes, trigger-now and response-script verification.
  • plugins - the plugin list and a plugin's custom events form.
  • useResponseHandlers, useLiveLogging - for the response-script cheat sheet and live OSC values.
  • components - optional pickers only the app can build (assets, UDP servers, plugin event inputs). A missing one falls back to a plain field, or to nothing.

Each get*/use* function is called as a hook during render.

Modules

WebUI modules contribute node inspectors, test panels and field renderers. The editor reads them from the ModuleSource set with setModuleSource, so it needs no registry of its own.