Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xdg/vendor/types/deno.d.ts>WebAssembly.compile

Determine XDG Base Directory paths (OS/platform portable)
Latest
function WebAssembly.compile
import { WebAssembly } from "https://deno.land/x/xdg@v10.6.0/vendor/types/deno.d.ts";
const { compile } = WebAssembly;

The WebAssembly.compile() function compiles WebAssembly binary code into a WebAssembly.Module object. This function is useful if it is necessary to compile a module before it can be instantiated (otherwise, the WebAssembly.instantiate() function should be used).

MDN

Returns

Promise<Module>