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

rdp-capability-builder

v1.0.1

Published

A monorepo containing two main systems:

Readme

RDP Capability Builder

A monorepo containing two main systems:

  1. Grove (packages/grove) - A server-driven UI (SDUI) engine that defines, validates, and executes dynamic UI layouts from declarative JSON documents.
  2. Frontend App (src/) - A React frontend template with sidebar navigation, theming, and Zustand state management. Built on shadcn/ui, Tailwind CSS, and React Router.

Architecture

rdp-capability-builder/
├── packages/grove/          # SDUI engine library (pure TypeScript, no React)
│   ├── src/
│   │   ├── types/           # Core type definitions (nodes, actions, conditions, expressions)
│   │   ├── registry/        # Node type registry + 43 built-in component definitions
│   │   ├── signals/         # Expression resolver, effect handlers, propagation engine
│   │   └── validation/      # Zod schemas + semantic validation rules
│   └── tests/
│       ├── fixtures/        # deploy-flow.json, invalid-examples.json
│       ├── registry/        # Registry tests
│       ├── signals/         # Resolver + propagation engine tests
│       ├── types/           # Schema-to-type sync guards
│       └── validation/      # Validator tests
├── src/                     # React frontend app
│   ├── components/          # UI components (layout/, ui/)
│   ├── hooks/               # Custom React hooks
│   ├── nav/                 # Navigation configuration
│   ├── pages/               # Page components
│   └── stores/              # Zustand stores
└── public-registry/         # Public registry assets

How Grove Works

A Grove document is a JSON structure describing a multi-screen UI:

  • Screens contain a tree of nodes (Button, Input, Flex, Card, etc.)
  • Nodes declare props, children, slots, and signal wirings
  • Signal wirings map events (e.g. "pressed") to actions (setState, fetch, navigate, etc.)
  • Expressions like {{state.userName}} resolve values inside action handlers at runtime
  • Bindings (bind) map prop names to state paths for reactive prop updates
  • Conditions gate visibility and signal execution with operators like eq, gt, truthy, etc.

The engine processes this at runtime:

  1. Registry knows what node kinds exist and their schemas
  2. Validation checks documents for structural and semantic correctness
  3. Propagation Engine dispatches signals, resolves expressions, executes actions, and manages state

Quick Start

npm install
npm run dev          # Start the frontend dev server
npm run test         # Run all tests (root + packages)
npm run lint         # ESLint with auto-fix
npm run format       # Prettier formatting

Grove package commands

cd packages/grove
npx tsc --noEmit     # Type check
npx vitest run       # Run grove tests
npx vitest           # Watch mode

Tech Stack

| Layer | Technology | | ------------ | ----------------------------------- | | UI Framework | React 19, React Router 7 | | Components | shadcn/ui, Radix UI, Tailwind CSS 4 | | State | Zustand 5 | | SDUI Engine | Pure TypeScript, Zod | | Build | Vite 7, SWC | | Test | Vitest 3 | | Lint | ESLint 9, Prettier |

Naming Conventions

  • shadcn/ui components - kebab-case (sidebar.tsx, dropdown-menu.tsx)
  • Custom components - PascalCase (ErrorBoundary.tsx, DataWrapper.tsx)
  • Grove source - camelCase files (propagation.ts, resolver.ts)

Navigation

Frontend navigation is configured in /src/nav/. See nav/README.md for details.