I'm looking to use C# libraries compiled to Mono WASM runtime from JavaScript, but without the browser context, so that window, document and other browser-specific APIs are not available (example use case are web extensions for vscode).
I've already ported ASP.NET Core's blazor.webassembly.js , but it turns out dotnet.js is also using browser-specific APIs. Is there a way to use Mono WASM outside of browser?