Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run JavaScript scripts and pipe transforms in both Mirage SDKs.
qjs-wasi.wasm
home
MIRAGE_QUICKJS_HOME
pip install 'mirage-ai[quickjs]'
in_process
node
from mirage import RAMVFS, MountMode, Workspace from mirage.runtime.js import QuickJsRuntime ws = Workspace( {"/data": RAMVFS()}, mode=MountMode.EXEC, machines={"js": QuickJsRuntime(config={"home": "/path/to/quickjs"})}, ) await ws.shell("node -e 'console.log(1 + 1)'")