interface SourceTextModuleOptions
Usage in Deno
import { type SourceTextModuleOptions } from "node:vm";
optional
identifier: string | undefined
String used in stack traces.
optional
cachedData: ScriptOptions["cachedData"] | undefined
optional
lineOffset: BaseOptions["lineOffset"] | undefined
optional
columnOffset: BaseOptions["columnOffset"] | undefined
optional
initializeImportMeta: ((meta: ImportMeta,module: SourceTextModule,) => void) | undefined
Called during evaluation of this module to initialize the import.meta
.
optional
importModuleDynamically: ScriptOptions["importModuleDynamically"] | undefined