Optional defaultConfig: Partial<SandboxConfig>Initializes the sandbox.
Optional logger: ILoggerOptional defaultConfig: SandboxConfigExecutes code in the sandbox.
Gets the status of an execution.
Lists recent executions.
Gets supported languages.
Gets sandbox statistics.
Validates code for security issues.
Code Execution Sandbox implementation.
Runs code with a time limit and a minimal set of globals: JavaScript in a node:vm context inside this process, Python in a child process.
node:vmis not a security mechanism (Node's documentation).