Server only
Functions that never reach the browser
This route reads the filesystem, operating system, and Bun process inside its loader. The browser receives only the rendered HTML.
Rendered on serverat 2026-07-30T15:42:38.782Z
Request-scoped memoization
Both server/layout.tsx and server/page.tsx callgetServerSnapshot(). Brandy executes it once for this render and both loaders receive sample 12ae37d4.
Live process snapshot
- Runtime
- Node v22.22.3
- Platform
- linux / x64
- Process uptime
- 5m
- Resident memory
- 78 MB
- Package
- brandy@0.0.1
- Dependencies
- 8
What the loader did
- Inlined package manifest at build time
import … with { type: 'json' } - Inspected process memory
process.memoryUsage() - Resolved host platform
node:os
Refresh or navigate away and back to run the async loader again. The module under _lib/server.ts is never part of Brandy's browser runtime.