FUNCTIONS / @SPFN/CORE — THE FRAMEWORK KERNEL

The kernel.

Everything an SPFN backend runs on: the HTTP server, the typed route DSL, Drizzle data access, codegen, validated env, background jobs, events, cache, and the Next.js RPC client. The only required package — everything else is opt-in.

Read the reference Get started $ pnpm add @spfn/core
01
Anatomy

One import path
per concern.

@spfn/core/server
@spfn/core/route
@spfn/core/db
@spfn/core/nextjs
FIG 01 — A REQUEST'S PATH THROUGH THE KERNEL · EACH MODULE DOCUMENTED BELOW
02
Modules

Fourteen modules.
Documented on-site.

Read it all.