Skip to main content
SourceTextModuleOptions - node__vm.d.ts - Node documentation
interface SourceTextModuleOptions

Usage in Deno

```typescript import { type SourceTextModuleOptions } from "node:node__vm.d.ts"; ```

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