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

@goldenhippo/builder-cart-plugin

v0.4.2

Published

Builder.io plugin for Golden Hippo commerce brand management

Downloads

758

Readme

@goldenhippo/builder-cart-plugin

React 18 plugin running inside Builder.io's editor iframe. Manages pages, products, blogs, comments, and brand configuration for Golden Hippo cart/commerce sites.

Table of Contents

Features

  • Dashboard — overview of content across all models
  • Page Manager — create, search, filter, and validate pages (General, PDP, Blog)
  • Products — browse product catalog from Hippo Commerce API
  • Blogs — manage blog content with category filtering
  • Comments — approve/reject blog comments
  • Settings — user profile and plugin configuration
  • Auto-provisioning — automatically creates all 13 Builder.io models on settings save

Installation in Builder.io

Development

  1. Start the dev server:
    npm run dev:plugin    # http://localhost:1268
  2. In Builder.io: Settings > Plugins > Add Plugin
  3. Enter URL: http://localhost:1268/plugin.system.js

Production (CDN)

After publishing, use the jsdelivr CDN URL:

https://cdn.jsdelivr.net/npm/@goldenhippo/builder-cart-plugin@<version>/dist/plugin.system.js

Plugin Settings

| Setting | Description | | ------------ | ----------------------------------- | | Brand | Brand name for multi-brand support | | Edit URL | Frontend site URL for page previews | | API URL | Hippo Commerce API base URL | | API User | Commerce API username | | API Password | Commerce API password |

Saving settings triggers auto-provisioning of all 13 Builder.io models via the API.

Architecture

Entry Point

src/plugin.ts — registers plugin settings, the app tab ("Hippo CMS"), and the 8-phase model auto-creation flow on settings save.

Application

src/application/ — app shell and page components:

  • AppCore — MobX state management with cookie-based routing
  • HippoCMSManager — wrapper component
  • Pages: Home, PageManager, Products, Blogs, Comments, Settings, Admin

Core

src/core/models/BuilderHelper singleton that orchestrates all 13 model definitions. Factory functions are imported from @goldenhippo/builder-cart-schemas.

Services

src/services/ — API clients:

  • BuilderApi — paginated Builder.io content fetching
  • CommerceApi — product feed and brand settings via Hippo Commerce API
  • UserManagementService — extracts user context from Builder.io

Path Aliases

Configured in both tsconfig.json and webpack.config.js:

| Alias | Path | | ---------------- | ------------------ | | @application/* | src/application/ | | @components/* | src/components/ | | @core/* | src/core/ | | @services/* | src/services/ | | @utils/* | src/utils/ |

Development Commands

npm run dev:plugin   # Start dev server on port 1268
npm run build:plugin # Production build
npm run typecheck    # Type-check with tsc
npm run lint         # Lint with eslint