Superfunction

Packages

Take what you need

SPFN ships as composable packages, not a monolith. @spfn/core is the only required piece; everything else is opt-in. Each package's documentation is served here, straight from the repo — the same READMEs maintained alongside the code.

Framework

Package What it does
@spfn/core Server, routing, database, codegen — the kernel every app uses
spfn (CLI) create, init, codegen, dev workflow
@spfn/migrate Database migration tooling

Batteries

Package What it does
@spfn/auth Sessions, OAuth providers, RBAC, invitations
@spfn/storage File uploads — local and GCS drivers
@spfn/notification Email and messaging with pluggable providers
@spfn/monitor Health checks, metrics, request tracing
@spfn/cms Content models and admin endpoints
@spfn/workflow Background jobs and step workflows

Serving

Package What it does
@spfn/pages Serve a website from a repo — this site runs on it
@spfn/pages-next Next.js integration: layouts, catch-all helpers, static export sync

Versioning

Everything is beta (0.x.y-beta.N). APIs can move between betas; release notes will land on this site when they start shipping.