Skip to main content
CompileFunctionOptions - node__vm.d.ts - Node documentation
interface CompileFunctionOptions
extends BaseOptions

Usage in Deno

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

Properties

optional
cachedData: Buffer | undefined
Provides an optional data with V8's code cache data for the supplied source.
optional
produceCachedData: boolean | undefined
Specifies whether to produce new cache data.
optional
parsingContext: Context | undefined
The sandbox/context in which the said function should be compiled in.
optional
contextExtensions: Object[] | undefined
An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling