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

v0.2.5

Published

[experimental] Fayz SDK — plugin-shop plugin

Downloads

801

Readme

@fayz-ai/plugin-shop

Status: experimental (incubating). Not capability-complete — missing some or all of the capability bar (data-provider contract w/ supabase+mock pair, entity registries, settings, migrations; see docs/PLUGIN-PATTERNS.md). Fine to explore in dogfoods; NOT ready for fresh installs or generated apps, and its API may change without notice.

Drop a real storefront admin into any Fayz app — products, orders, customers, discounts.

npm license

Every vertical eventually wants to sell something. A salon sells retail product, a restaurant sells gift cards, a clinic sells packages. plugin-shop is the e-commerce admin surface that snaps into that need — a catalog, orders, customers, and discounts — without making you rebuild Shopify from scratch.

It builds on the @fayz-ai/shop engine, so the data layer is real and pluggable. Wire it to your own backend with a provider, scope it to the active organization automatically, and let the host AI assistant query your catalog and orders out of the box. The philosophy: commerce is a plugin, not a platform — compose it alongside inventory, orders, and menu to make a real SaaS.

What's inside

  • Navigation + page — a /shop admin surface (products, orders, customers, discounts) rendered with @fayz-ai/ui data tables
  • Pluggable data — inject a ShopProvider via provider, or fall back to the SDK runtime scoped to the active org
  • AI toolslistProducts (filter by name/status) and listOrders (filter by financial/fulfillment status), with built-in prompt suggestions
  • Settings tab — a Shop settings panel showing configured currency
  • Re-exported domain typesProduct, Order, ShopCustomer, Discount, Category, and their input types, so you only depend on this package

Install

npm install @fayz-ai/plugin-shop

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

Usage

import { defineSaas } from '@fayz-ai/saas'
import { createShopPlugin } from '@fayz-ai/plugin-shop'

export const app = defineSaas({
  // ...
  plugins: [
    createShopPlugin({
      navLabel: 'Store',
      currency: { code: 'BRL', locale: 'pt-BR', symbol: 'R$' },
      // provider: myShopProvider, // optional — wire your own data access
    }),
  ],
})

Options: navPosition, navSection, navLabel, scope, verticalId, currency, provider.

Part of the Fayz SDK

A composable plugin for the Fayz SDK. Pairs naturally with @fayz-ai/plugin-orders, @fayz-ai/plugin-inventory, and @fayz-ai/plugin-menu to build a full order-to-cash storefront.

Roadmap & contributing

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