WASIOptions
Properties
Link copied to clipboard
An array of strings that the WebAssembly application will see as command line arguments. The first argument is the virtual path to the WASI command itself.
Link copied to clipboard
Link copied to clipboard
By default, when WASI applications call __wasi_proc_exit()
wasi.start()
will return with the exit code specified rather than terminatng the process. Setting this option to false
will cause the Node.js process to exit with the specified exit code instead.
Link copied to clipboard
The version of WASI requested. Currently the only supported versions are 'unstable'
and 'preview1'
. This option is mandatory.