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

@miniapp-studio/zapp-builder

v0.0.1

Published

Property editing configuration for the zapp component set.

Readme

@miniapp-studio/zapp-builder

How every @miniapp-studio/zapp component is edited in the builder: which properties each one offers, how they are grouped, and which input control each property gets.

This package exists because nothing else may hold both halves of that answer. zapp is a runtime package that a renderer route loads, so it must not know the editor's control vocabulary. builder is registry-agnostic — its shipped source knows no specific component — so it must not know zapp's components. This is the one place that knows both, and no renderer route imports it.

See package-boundaries.md for the dependency contract and the builder's property configuration for the vocabulary these files are written in.

Use

import { StudioBuilder } from "@miniapp-studio/builder";
import { createZappPropertiesRegistry } from "@miniapp-studio/zapp-builder";

const properties = createZappPropertiesRegistry();

<StudioBuilder registry={components} properties={properties} {...rest} />;

Create the registry once per host, like createZappRegistries. Every configuration is resolved against its component's Zod schema at creation, so a configuration that no longer fits its component throws immediately rather than producing a broken panel.

A host with its own component definitions registers their configurations alongside the built-ins:

const properties = createZappPropertiesRegistry({
  additionalConfigs: [[badgeDefinition, badgeConfig]],
});

What is here

src/components/ holds one file per group of components, plus shared-controls.ts for the choices and field groups more than one component declares — the flex-layout group, the alignment sets, and the font weights.

Each configuration is plain data. It names the properties the panel shows, in the order it shows them, and gives each one a control kind. It states no bounds: min, max, step, and string lengths are read from the component's Zod schema, so the two can never disagree.

Two things a configuration deliberately does not do

It does not list every property. The configuration is authoritative about what is editable. A property the schema describes but no group names is simply not shown — which is how a deliberately hidden property is expressed. The cost is that adding a property to a *.props.ts will not appear in the panel until someone adds it here, and no test reports that.

It does not edit arrays. zapp.StandardInput.options, zapp.ProductFilter.options, and zapp.ChoicePicker.options are z.array() of option objects, which no control in the closed set edits. They were never editable — the old panel discovered them as unsupported fields and rendered a note — so nothing regressed. A repeater control, or a custom one, is where they would be added.

Tests

src/configs.test.ts covers what a test can catch: that every component zapp registers by default has a configuration, that every configuration registers without throwing, and that the controls this package exists to fix — Button's fontWeight, align, and justify — are pickers rather than text boxes.

It cannot catch a property that gained a schema entry but no field. That is the accepted cost of the configuration being authoritative.