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

@ethisyscore/plugin-ui

v1.66.0

Published

Plugin-UI umbrella SDK: client bridge + a11y/l10n primitives + brokered-MCP client (WI 4858).

Downloads

4,753

Readme

@ethisyscore/plugin-ui

The PlatformReact frontend foundation for EthisysCore plugins. It gives a plugin everything it needs to lift a monolith React feature onto a plugin surface: page and overlay factories, a static useView adapter, an MCP-over-hooks service layer, react-query / react-router shims, scoped styles, the nexture icon set, and the shared MUI component surface externalised to the host's instances.

PlatformReact is the high-trust render tier (RFC 0003), restricted to first-party PlatformPlugin builds. See the top-level render-mode overview and the PlatformReact author guide.

Export surface

| Subpath | Key exports | Purpose | |---|---|---| | . | createPortBridgeClient, BridgeClientContext / useBridgeClient, useBridgeTheme / useBridgeLocale, ExtensionRuntimeProvider, useMcpResource / useMcpTool / useMcpQuery / unwrapItems, useHostIdentity / useCurrentUser, definePlatformReactPage / emitNavigation / PlatformReactPageProps | Bridge client + theme/locale context, brokered-MCP data hooks, host identity, and the base PlatformReact page contract | | ./platform-react | definePlatformReactPluginPage / createPluginPageDefiner, definePlatformReactPluginOverlay / useOverlayHost, useView / createUseView / ViewComponent / isComponent, BaseMcpService / useToolInvoker / useToolInvokerMap, useAuthenticatedQuery / useAuthenticatedQueries, injectPluginStyles / PluginStyleScope, createReactRouterShim, usePluginRealtime, useMcpUpload, useManagedLifecycle | The plugin authoring layer: page/overlay wrappers (react-query + manifest + style root), the static useView adapter pattern, the MCP service base + tool invokers, pre-authenticated react-query wrappers, scoped-style injection, router shim, realtime, and file upload | | ./icons | NextureIcons, IconMap, 470+ Ni* icon components, sizeHelper / strokeSizeHelper, IconName / IconSize / IconVariant | The gogo-ui "nexture" SVG icon set with props types and size/stroke helpers | | ./components/ui | Button, Card, Dialog, Table, TextField, Select, Tabs, Typography, Grid, Stack, Menu, … | MUI component re-exports plus a Dialog scroll-lock wrapper. These are host externals — never bundled; production builds bind them to the host's MUI instance | | ./components/layout | PageHeader / usePageHeader / withPageHeader / buildBreadcrumbs, FillGrid / FillGridItem / FillGap / FillSpan, sidebar-action context (SidebarActionProvider, useSidebarAction / useSidebarActions / useTriggerSidebarAction), RouteMeta / RouteMetaEntry | Layout primitives (flex-wrap grid), the page-header layer + breadcrumb builder, and the sidebar-action context/provider | | ./components/shared | ConfirmActionDialog, ConfirmDeleteDialog, useToast, showSuccessToast / showErrorToast / showWarningToast | Composite confirmation dialogs and toast notifications | | ./a11y | useA11yAnnounce | Accessible live-region announcement hook | | ./l10n | usePluginLocale / PluginLocale | Locale + direction/RTL helper | | ./token | useFrontendSessionToken, useAuth, decodeJwtPayload | Frontend session token + JWT auth utilities | | ./tailwind-preset | ehxTailwindPreset | Tailwind preset carrying the gogo-ui theme scales (screens, fonts, sizes, colours, shadows) | | ./types | Guid, Auditable, AuditableDetailed, HasRowVersion, PagedQuery, SearchQuery | Generic base DTO/query types (audit stamps, row version, branded GUID, paging) | | ./plugin-base.css | (CSS asset) | Static base stylesheet for plugin surfaces |

Typical usage

// A PlatformReact page module the host dynamic-imports at surface mount.
import { definePlatformReactPluginPage } from "@ethisyscore/plugin-ui/platform-react";
import { useView } from "@ethisyscore/plugin-ui/platform-react";

function MyFeaturePage() {
  const View = useView("my-feature/list");
  return <View />;
}

export default definePlatformReactPluginPage(MyFeaturePage);

Handlers do not call MCP tools directly — wrap each callee domain in a typed service extending BaseMcpService and consume it through useToolInvoker. See the top-level README §"services over MCP" and the FE migration playbook.

Build and test

npm ci && npm run build && npm test

Last Updated: 2026-07-10