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-menu

v0.3.0

Published

Fayz SDK — plugin-menu plugin

Downloads

768

Readme

@fayz-ai/plugin-menu

The menu engine behind every food vertical — items, categories, modifiers, 86'd in one tap.

npm license

A menu is the product catalog of a food business — and it changes by the hour. plugin-menu is the management surface for that: items, categories, allergens, and modifiers, with sold-out toggles that take effect instantly. It's the foundation the orders flow reads from, so the two compose into a working restaurant.

It's provider-first by design. Ship a demo on the bundled mock provider, then drop in createFayzMenuProvider (or your own MenuDataProvider) for real data. Modifiers and delivery pricing are opt-in modules, labels and currency are configurable, and the host AI can list items and flip availability by name. The intent: menu management shouldn't be a bespoke build — it's a plugin you snap into a defineSaas app to compose a real food SaaS.

What's inside

  • Navigation + page — a /menu surface with a menu manager (MenuManagerView) for items and categories
  • Pluggable data — inject a MenuDataProvider, use createFayzMenuProvider, or fall back to the bundled mock provider
  • Opt-in modulesmodifiers (on by default) and deliveryPricing (off by default)
  • AI toolslistMenuItems (filter by category/status) and toggleMenuItemAvailability (mark available or sold out by name)
  • Settings + i18n — a settings panel for categories, allergens, and modifiers, plus bundled locales
  • Public domain types — exported so any host can implement its own MenuDataProvider

Install

npm install @fayz-ai/plugin-menu

Peer deps: @fayz-ai/core, @fayz-ai/ui, @fayz-ai/saas, @fayz-ai/sdk (+ react, react-dom).

Usage

import { defineSaas } from '@fayz-ai/saas'
import { createMenuPlugin, createFayzMenuProvider } from '@fayz-ai/plugin-menu'

export const app = defineSaas({
  // ...
  plugins: [
    createMenuPlugin({
      modules: { modifiers: true, deliveryPricing: false },
      currency: { code: 'BRL', locale: 'pt-BR', symbol: 'R$' },
      dataProvider: createFayzMenuProvider({ /* ... */ }),
    }),
  ],
})

Options: modules, labels, currency, navPosition, navSection, scope, verticalId, dataProvider, menuItemLookup.

Part of the Fayz SDK

A composable plugin for the Fayz SDK. The catalog @fayz-ai/plugin-orders reads from — pair both with @fayz-ai/plugin-inventory to tie menu items back to stock.

Roadmap & contributing

Built and evolving in the open. See the Fayz SDK roadmap for current gaps, missing features, and good first issues.