reproduction: https://stackblitz.com/github/hi-ogawa/reproductions/tree/main/oxc-wasi-vite?file=src%2Fmain.js
(Github repo https://github.com/hi-ogawa/reproductions/tree/main/oxc-wasi-vite)
I tested @oxc-parser/binding-wasm32-wasi on browser and ParseResult.program is returned as raw string.
const lib = await import("@oxc-parser/binding-wasm32-wasi/parser.wasi-browser.js");
const result = lib.parseSync("test.js", `let foo`);
const program = result.program;
console.log(typeof program) // => 'string'