Skip to main content
WASIOptions.preopens - node__wasi.d.ts - Node documentation
property WASIOptions.preopens

Usage in Deno

```typescript import { type WASIOptions } from "node:node__wasi.d.ts"; ```
This object represents the WebAssembly application's sandbox directory structure. The string keys of `preopens` are treated as directories within the sandbox. The corresponding values in `preopens` are the real paths to those directories on the host machine.

Type

Dict<string> | undefined