Skip to main content
Module

x/enzastdlib/realm/realm.ts>RealmOptions

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 RealmOptions
import { type RealmOptions } from "https://deno.land/x/enzastdlib@v0.0.4/realm/realm.ts";

Represents all the available options passable to makeRealm.

Type Parameters

optional
GlobalThisType = unknown

Properties

readonly
optional
cwd: string

Represents the current working directory to execute code in. Any import statements or calls to import / require resolve to this directory and cannot be escaped.

NOTE: This value defaults to the current working directory if not provided.

readonly
optional
environment: EvaluateModuleOptions<GlobalThisType>

Represents the options to configure the execution environment of this Realm.