Skip to main content
SourceTextModuleOptions - vm - Node documentation
interface SourceTextModuleOptions

Usage in Deno

import { type SourceTextModuleOptions } from "node:vm";

Properties

optional
identifier: string | undefined

String used in stack traces.

optional
cachedData: ScriptOptions["cachedData"] | undefined
optional
context: Context | undefined
optional
lineOffset: BaseOptions["lineOffset"] | undefined
optional
columnOffset: BaseOptions["columnOffset"] | undefined
optional
initializeImportMeta: ((
meta: ImportMeta,
) => void) | undefined

Called during evaluation of this module to initialize the import.meta.

optional
importModuleDynamically: ScriptOptions["importModuleDynamically"] | undefined