Documentation Index
Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
Use this file to discover all available pages before exploring further.
OPFSResource mounts the Origin Private File System as a Mirage resource. Files persist across page reloads but stay scoped to the current origin.
Browser only. There is no OPFS in Node; for local persistence in Node, use Disk.
Install
Config
| Field | Default | Notes |
|---|---|---|
root | '' | Subdirectory under the OPFS root. Useful to namespace multiple workspaces. |
Mount mode
read, write, exec.
Storage and quotas
The browser sets per-origin quotas (typically a fraction of free disk, single-digit GB on most setups). Hitting it raisesQuotaExceededError.