Skip to content

Latest commit

 

History

History

README.md

Examples

Runnable examples for the @execbox/* package family.

Examples CI

Run the examples

npm install
npm run build
npm run examples

The 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-vm

See the public Examples docs for when to start with each example.

Execbox

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