Skip to main content
WASIOptions.preopens - wasi - Node documentation
property WASIOptions.preopens

Usage in Deno

import { type WASIOptions } from "node:wasi";

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
Back to top