Skip to main content

Interface: WASIOptions

Properties

args?

optional args: string[]

Command line arguments.


env?

optional env: Record<string, string>

Environment variables as key-value pairs.


preopens?

optional preopens: Record<string, string>

Pre-opened directories mapping guest paths to host paths.


version

version: WASIVersion

Required. The WASI version to use.