IFClite TypeScript API
    Preparing search index...

    Class SandboxNamespace

    bim.sandbox — Secure script execution in QuickJS-WASM

    Index
    • Create a sandboxed execution environment.

      The sandbox runs scripts in an isolated QuickJS WASM instance with only the bim.* API exposed. No DOM, fetch, or network access.

      Parameters

      Returns Promise<unknown>

      The sandbox instance (call dispose() when done)

    • Dispose the active sandbox and free WASM resources.

      Returns Promise<void>

    • Get the bim.* API schema exposed to sandboxed scripts.

      Returns Promise<unknown>

    • Transpile TypeScript to JavaScript without executing it.

      Parameters

      • tsCode: string

      Returns Promise<string>