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

@fayz-ai/plugin-admin

v0.9.14

Published

[experimental] Fayz SDK — admin shell settings plugin (read-only foundation)

Readme

@fayz-ai/plugin-admin

A Panel view onto your app's own shell config — layout, module nav, and branding, at a glance.

npm license

Every SaaS/admin-template app already resolves a shell config — sidebar or topbar layout, rail or tabs for module navigation, a mobile header treatment, whether org/branding settings are shown — from FayzAppConfig (src/config/app.tsx / theme.ts) at build time. Today an operator can't see any of that from the Panel; changing it means hand-editing config files and redeploying. plugin-admin adds an /admin page that reflects the resolved config so it's visible without reading source.

Foundation status — read this first

This is a foundation pass, not a capability-complete plugin. It ships a read-only view of layout / moduleNav / mobileHeader / branding; there is no write path yet. The data provider (mock + Supabase stub) both simply echo back the statically resolved config — there is no shell-config table, and this plugin does not make FayzAppConfig.layout (or any of its siblings) mutable at runtime.

Follow-up: wire real read/write of these fields back into FayzAppConfig once a plugin-editable extension point exists for shell-level config. docs/saas/CUSTOMIZATION.md already names the gap — the saas shell's slot contracts (named layout/menu slots, published like the storefront's) are [planned FAY-1248/FAY-1196], the "persona/slots phase". plugin-admin's write path is a consumer of that phase, not a substitute for it: it should land once shell slots have a published contract to write through, not by having this plugin reach around defineSaas and mutate config ad hoc.

What's inside

  • An /admin page: read-only cards for layout, module navigation style, mobile header treatment, and branding visibility
  • Config mirrors FayzAppConfig 1:1 (layout, moduleNav, mobileHeader, navTransition, orgSettings, branding) — no new config shape
  • An AI tool, getShellSettings, so "what layout is this app using?" already works
  • Mock + Supabase data providers (both stubs today, chosen automatically) and full i18n

Install

npm install @fayz-ai/plugin-admin

Peer deps: react, react-dom. Runtime deps include @fayz-ai/core, @fayz-ai/ui, and @fayz-ai/admin.

Usage

import { defineSaas } from '@fayz-ai/admin'
import { createAdminPlugin } from '@fayz-ai/plugin-admin'

export const app = defineSaas({
  // ...
  layout: 'sidebar',
  moduleNav: 'tabs',
  plugins: [
    createAdminPlugin({
      layout: 'sidebar',
      moduleNav: 'tabs',
      mobileHeader: 'minimal',
      branding: true,
    }),
  ],
})

Pass the same values you already give defineSaas — the plugin doesn't derive them from the app config automatically (no such wiring exists yet); it just renders what you tell it.

Part of the Fayz SDK

Targets the saas/admin-template scaffold only (scaffolds: ['saas']) — this is Panel-side shell config, not a storefront concern. Pairs with whatever settings surface the app already exposes; it adds visibility, not a new settings system.

Roadmap & contributing

Built and evolving in the open. See the Fayz SDK roadmap and docs/saas/CUSTOMIZATION.md (persona/slots phase) for the write-path this is scaffolding toward.