01 · The runtime
Browser first. Server when needed.
Run the fast path in the browser: workers for Node processes, Pyodide for Python, WebAssembly for hot paths, OPFS for local persistence, and service workers for previews. Switch to the server backend only when the workload needs Linux or native tools.
- ›backend: 'browser' | 'server' | 'auto'
- ›fs, http, process, events, streams
- ›Python through Pyodide, native stacks through promotion
- ›OPFS snapshots or server workspaces
- ›Per-runtime limits and usage events