Runnable examples for the @execbox/* package family.
npm install
npm run build
npm run examplesThe isolated-vm example stays on its own lane because it depends on the native addon and --no-node-snapshot:
npm run example:execbox-isolated-vm
npm run verify:isolated-vmSee the public Examples docs for when to start with each example.
| File | What it shows |
|---|---|
execbox-basic.ts |
Resolve a provider and execute guest code with QuickJS |
execbox-process.ts |
Run the same provider flow inside a child-process executor |
execbox-remote.ts |
Run the same provider flow through a transport-backed executor |
execbox-worker.ts |
Run the same provider flow inside a worker-thread executor |
execbox-mcp-provider.ts |
Wrap MCP tools into a provider and execute against them |
execbox-mcp-server.ts |
Expose mcp_search_tools, mcp_execute_code, and mcp_code |
execbox-isolated-vm-basic.ts |
Run the same provider flow on the isolated-vm backend |