Skip to main content

Installation

Use a supported Node release, then install the runtime:
npm install @struktoai/mirage-node and yarn add @struktoai/mirage-node work too. The packages require ECMAScript modules (ESM). In the same directory, set "type": "module" in your package.json:

Create a Workspace

Start with the RAM VFS so you can try Mirage without credentials.
quickstart.ts
Run it; it lists user.json, prints alice, then prints the matching JSON document:
Shell failures are returned in the result; check exitCode and stderrText when needed. See the in-app API reference.

Next Steps