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

@ikenga/pkg-suite

v0.3.0

Published

Business suite — Sales, Outbound, Email over Supabase. Multi-file iframe pkg, no build step. (Tasks shipped separately as com.ikenga.tasks.)

Readme

Suite

Ikenga pkg — business suite (Sales, Outbound, Email) over Supabase. Multi-file iframe pkg, no build step. React 19 + htm via esm.sh.

Tasks moved out to its own pkg — com.ikenga.tasks (the rich List/Agenda/ Triage app over the production tasks schema). See packages/apps/tasks.

| | | |---|---| | Pkg id | com.ikenga.suite | | Kind | embedded (UI iframe) | | Surface | /pkg/com.ikenga.suite/ | | Data | Supabase tables (declared in manifest.json) | | Build | none — src/ is the whole app |

Layout

suite/
├── manifest.json             # CSP allows esm.sh + *.supabase.co
├── package.json
├── README.md
└── dist/                     # kernel convention — iframe sources live here
    ├── index.html            # mount point; imports src/app.js as ES module
    └── src/
        ├── app.js            # bridge + supabase + hash router + sidebar
        ├── lib/
        │   ├── ui.js         # React, ReactDOM, htm (loaded from esm.sh)
        │   ├── bridge.js     # @modelcontextprotocol/ext-apps wrapper
        │   ├── supabase.js   # lazy createClient
        │   └── settings.js   # in-pkg feature toggles (localStorage)
        └── features/
            ├── _registry.js  # imports + exports each feature
            ├── sales/        # placeholder
            ├── outbound/     # placeholder
            └── email/        # placeholder

Why dist/? The shell's pkg-content server only serves files under <install_path>/dist/ for iframe routes (kernel convention). For a no-build pkg, your "build output" is your source — keep editing in dist/src/ directly. Forks work the same way.

Fork in one step

cp -r ikenga-pkgs/packages/apps/suite ~/my-suite
# edit ~/my-suite/manifest.json (change id), and any src/features/*
ikenga add ~/my-suite

The agent in your Ikenga can do this for you — just ask. No pnpm install, no tsc, no Vite. Forks are file edits + reload.

Disable a feature

Three options, smallest to largest:

  1. Toggle off in Settings. Hides the sidebar entry; code stays on disk.
  2. Remove from registry. Delete the feature's import + entry in src/features/_registry.js.
  3. Delete the directory. rm -rf src/features/sales/ + step 2 above.

Disable the whole pkg

ikenga disable com.ikenga.suite   # nav entry gone next reload
ikenga remove com.ikenga.suite    # uninstall fully

Standalone preview

file:///path/to/index.html?url=https://xxx.supabase.co&anon_key=eyJ...

The pkg detects window.parent === window and falls back to query-string Supabase config. Useful for quick UI iteration without the shell.

Required schema (starter)

Suite's three features read from deals, outbound_messages, and email_drafts — design these as you wire each feature. (Tasks and its schema now live in the standalone com.ikenga.tasks pkg.)

RLS is the real enforcer; permissions.supabase.tables in the manifest is advisory.

How it works (bridge protocol)

src/lib/bridge.js wraps the canonical MCP Apps SDK (@modelcontextprotocol/ext-apps):

  1. new App({ name, version })
  2. Register onhostcontextchanged / onerror / onteardown handlers
  3. await app.connect() — runs the ui/initialize handshake automatically
  4. app.getHostContext() returns { theme, styles, supabase, royaltiAuth, … }
  5. Cross-pkg navigation: app.callServerTool({ name: 'host.navigate', arguments: { path } })

The shell's dispatchHostCall (in shell/src/components/pkg/pkg-iframe-host.tsx) intercepts host.* tool names before forwarding to MCP servers.

CSP

The manifest declares ui.csp overrides allowing:

  • script-src / style-src / font-src: https://esm.sh (CDN for React, htm, Supabase, ext-apps SDK)
  • connect-src: https://*.supabase.co (PostgREST) + wss://*.supabase.co (Realtime)

To use a different CDN or self-host these modules, edit manifest.json and the import URLs in src/lib/ui.js, src/lib/bridge.js, src/lib/supabase.js.

See docs/pkg-patterns/01-ui-iframe.md.