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

v0.1.3

Published

Fayz SDK — plugin-forms plugin

Readme

@fayz-ai/plugin-forms

Templates, documents, and signatures — the paperwork layer for any vertical.

npm license

Every real business runs on forms it never wanted to build: anamnesis sheets, evolution notes, consent contracts, intake docs. plugin-forms kills that busywork. Define a template once, attach a filled document to a person, and the data lives in your tenant — not in a PDF nobody can query.

It snaps into a defineSaas app as the document engine. A clinic fills health anamnesis, a salon collects consent forms, a studio signs contracts — same plugin, same frm_* tables, different templates. Documents surface right inside the person record via a detail-tab widget, and the AI assistant can list templates and a client's documents on demand.

What's inside

  • Template + document model backed by Supabase (frm_* tables) with a mock provider fallback via createSafeDataProvider
  • Form categories registry (frm_categories, tenant-scoped) seeded with Anamnese, Evolução, Laudo, Contrato, Geral
  • Person detail widget — a person.detail.documents zone tab that lists and attaches documents to a contact
  • Settings tab for managing templates, documents, and categories
  • Document-type provider APIregisterDocumentTypeProvider lets other plugins contribute selectable document/file types
  • AI toolslistFormTemplates and listDocuments (read-only, permission-gated)
  • Pluggable data layer — pass your own dataProvider, or let it auto-resolve Supabase → mock

Install

npm install @fayz-ai/plugin-forms

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

Usage

import { defineSaas } from '@fayz-ai/saas'
import { createCustomFormsPlugin } from '@fayz-ai/plugin-forms'

export const app = defineSaas({
  // ...
  plugins: [
    createCustomFormsPlugin({
      labels: { pageTitle: 'Documents' },
      // dataProvider: myProvider,  // optional — defaults to Supabase → mock
    }),
  ],
})

Part of the Fayz SDK

One of the composable plugins that turn @fayz-ai/saas into a real, vertical-specific SaaS — this one owns documents and signatures.

Roadmap & contributing

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