Skip to main content
Module

x/enzastdlib/realm/mod.ts>EvaluateModuleOptions

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
interface EvaluateModuleOptions
Re-export
import { type EvaluateModuleOptions } from "https://deno.land/x/enzastdlib@v0.0.4/realm/mod.ts";

Represents all the available options passable to evaluateModule.

Type Parameters

optional
GlobalThisType = unknown

Properties

readonly
optional
globalThis: GlobalThisType

Represents the globalThis global object exposed to the execution environment.

NOTE: All members of this object will be exposed as globals to the evaluated code.

readonly
optional
useBlockList: boolean

Represents if the environment should set Deno runtime globals not found in EvaluateModuleOptions.globalThis to undefined to ensure proper sandboxing.