We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We want to invoke WASI executables programmatically in JavaScript.
I'm imagining each WASI executable exposing an interface like this:
import Wasi from "@wasmer/wasi"; export async function run(args: string, options?: Partial<RunOptions>): Promise<ExitStatus>; type RunOptions = { wasi: Wasi, ... }; type ExitStatus = { code: number, }
We can reuse the @wasmer/wasi object to do things like the file system, stdin/stdout, environment variables, etc.
@wasmer/wasi
The text was updated successfully, but these errors were encountered:
Oops, #22 shouldn't have closed this ticket 😅
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
We want to invoke WASI executables programmatically in JavaScript.
I'm imagining each WASI executable exposing an interface like this:
We can reuse the
@wasmer/wasi
object to do things like the file system, stdin/stdout, environment variables, etc.The text was updated successfully, but these errors were encountered: