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

@nullplatform/plugin-dev-ui

v0.1.1

Published

<h2 align="center"> <a href="https://nullplatform.com" target="blank_"> <img height="100" alt="Nullplatform" src="https://nullplatform.com/favicon/android-chrome-192x192.png" /> </a> <br> <br> @nullplatform/plugin-dev-ui <b

Readme

Local development UI for nullplatform plugins. Spawns a plugin process via gRPC, starts a JSON editor from the document the plugin offers for each of its runs, streams each run's events in real time and shows its answer.

Works with a plugin whose entry point serves the agent's gRPC ExecutorPlugin protocol, as await main(plugin) does when the agent starts it (a scope, a service, a definePlugin); a collector serves itself (its schedule and watch) and speaks no gRPC. It starts the entry point --entry names, else the plugin's local entry, src/local.ts, when it has one (its in-memory ports reach no real platform), else its src/main.ts, else its src/index.ts, with the ports that file passes. An entry that is not a local.ts runs the plugin with its real ports (the platform API, the tracing API, catalog-ingest-api, as its settings describe them), and the dev UI says so on stderr. It reads the runs that describe prints, which @nullplatform/plugin 0.1.11 and the published dev UI 0.0.5 predate: until the next release, run it from this repository, its page built first (cd dev-ui && bun run build:ui && bun run dev --plugin <path>).

Install

bun add -d @nullplatform/plugin-dev-ui

Usage

# From a plugin directory
bunx @nullplatform/plugin-dev-ui --plugin .

# Or via mise (scaffolded plugins include this task)
mise run dev

Open http://localhost:3847 in your browser.

Commands

plugin-dev [--plugin <path>] [--entry <file>]          Full dev mode (default)
plugin-dev preview [--plugin <path>] [--entry <file>]  Editor preview only (no plugin process)

Options

| Flag | Default | Description | |---|---|---| | --plugin <path> | cwd | Plugin directory | | --entry <file> | src/local.ts, else src/main.ts, else src/index.ts | Entry point, from the plugin directory | | --port <number> | 3847 | Server port |

How it works

  1. Runs --describe on the plugin to get its manifest: the runs it offers tooling (runs: each action, each link's, each event, execute), each with the document the agent would hand over for it, built by the plugin's own kinds
  2. Starts the editor from the chosen run's document; what you leave out is filled from it when you execute
  3. Spawns the plugin as a gRPC subprocess via @nullplatform/plugin/testing, which asks it what it declares (Capabilities)
  4. Sends an Execute RPC when you trigger a run from the UI, with the command type the plugin declares first
  5. Streams the run's events to the page as Server-Sent Events (/api/events): its ExecuteEvents (started, each output's text, the result), a cancel (cancelled: the plugin is stopped and started again, the run has no answer), and an execute that could not be called (error)
  6. Shows the run in the Execution panel: its status (running, completed, failed or cancelled), its duration from started to its end, and on a success the answer's data (formatted JSON, or its raw text when it is a string), on a failure its errorCode and error. A run the server refuses (in preview, a run the plugin does not offer, a body that is not a JSON object) fails at once, REFUSED, with the server's error. The Output panel shows the plugin's stdout and stderr lines

Development

bun run typecheck && bun run lint && bun run test   # what CI runs