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

v0.3.0

Published

Fayz SDK — plugin-tables plugin

Readme

@fayz-ai/plugin-tables

A live floor plan for restaurants — seat, track, and turn tables in real time.

npm license

Restaurants don't run on records — they run on the room. plugin-tables gives the food vertical a real floor plan: zones, tables, and live status (available, occupied, reserved, cleaning), with seat and close flows wired to your own backend. It's the difference between a generic CRM and software a host can actually work a Friday night on.

It snaps into a defineSaas app as the vertical surface for food. Configure zones, toggle reservations and session history, and hand the AI assistant the ability to answer "which tables are free?" or seat guests by table number — all permission-gated, all in the same app as bookings and payments.

What's inside

  • /tables route + nav entry (icon MapPin) with a live floor plan view
  • Zones — configurable defaults (Indoor, Outdoor, Bar) via defaultZones
  • Optional modulesreservations (off by default) and sessionHistory (on by default)
  • Lifecycle hooksonTableSeated and onTableClosed to bridge sessions into your orders/payments
  • AI toolsgetTableAvailability (read) and seatGuests (persist, tables:edit)
  • Settings tab — zone and floor-plan configuration via PluginSettingsPanel
  • Pluggable data layerdataProvider option, with createFayzTablesProvider exported, or a built-in mock provider for local dev
  • Vertical scope — defaults to scope: 'vertical', with i18n locales included

Install

npm install @fayz-ai/plugin-tables

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

Usage

import { defineSaas } from '@fayz-ai/saas'
import { createTablesPlugin } from '@fayz-ai/plugin-tables'

export const app = defineSaas({
  // ...
  plugins: [
    createTablesPlugin({
      modules: { reservations: true, sessionHistory: true },
      defaultZones: [
        { name: 'Indoor', color: '#3b82f6' },
        { name: 'Patio', color: '#22c55e' },
      ],
      onTableSeated: async (session) => createOrderFor(session),
      onTableClosed: async (session) => closeOrderFor(session),
    }),
  ],
})

Part of the Fayz SDK

One of the composable plugins for @fayz-ai/saas — this is the food vertical's room-management surface.

Roadmap & contributing

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