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

v0.1.2

Published

Fayz SDK — plugin-financial plugin

Readme

@fayz-ai/plugin-financial

Order-to-cash for your SaaS — invoices, payables, cash, and commissions in one plugin.

npm license

Most vertical SaaS bolts on finance as an afterthought: a "total" field, a spreadsheet export, and a prayer. plugin-financial makes money a first-class part of the app. It models the full order-to-cash loop — receivables, payables, cash registers, statements, card reconciliation, and commission rules — as composable modules you toggle per business.

It's built to be the financial spine other plugins lean on. Agenda creates orders against it, reports read from it, and the dashboard surfaces balance, cash flow, and overdue alerts without bespoke glue. Every module is optional, every label and currency is configurable, and item lines can resolve products and services from other plugins via entity lookups. Compose a real, money-aware SaaS instead of stitching one together.

What's inside

  • Financial page (/financial) — summary, accounts receivable & payable (with recurring), cash registers, statements, commissions (overview + rules), and cards (overview + reconciliation).
  • Invoice flow — list, detail, and form views with configurable item types (service / product / other) and optional service-execution tracking.
  • Dashboard widgets — total-balance / receivable / payable KPIs, a cash-flow chart, breakdown and overdue-alert panels, and a recent-transactions table.
  • AI toolsgetRevenue, createInvoice, listPayables for natural-language finance.
  • Cross-plugin hooksentityLookups and contactLookup to wire product/service/contact selectors, plus onBookingClick to jump from an invoice back to its booking.
  • createSafeFinancialProvider (Supabase-or-mock) so the same provider can back both the plugin and a cross-plugin bridge; settings tab and i18n included.

Install

npm install @fayz-ai/plugin-financial

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

Usage

import { defineSaas } from '@fayz-ai/saas'
import { createFinancialPlugin } from '@fayz-ai/plugin-financial'

export const app = defineSaas({
  // ...
  plugins: [
    createFinancialPlugin({
      currency: { code: 'BRL', locale: 'pt-BR', symbol: 'R$' },
      modules: { commissions: true, cards: false },
      itemTypes: [
        { value: 'service', label: 'Service', icon: 'Briefcase' },
        { value: 'product', label: 'Product', icon: 'Package' },
      ],
    }),
  ],
})

Part of the Fayz SDK

plugin-financial is the money layer of the SDK. It pairs with @fayz-ai/plugin-agenda (bookings auto-create orders via the financial bridge) and feeds @fayz-ai/plugin-reports for revenue and commission reporting.

Roadmap & contributing

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