UNPKG

watr

Version:

Light & fast WAT compiler – WebAssembly Text to binary, parse, print, transform

8 lines 347 B
/** * Converts a WebAssembly Text Format (WAT) tree to a WebAssembly binary format (WASM). * * @param {string|Array} nodes - The WAT tree or string to be compiled to WASM binary. * @returns {Uint8Array} The compiled WASM binary data. */ export default function compile(nodes: string | any[]): Uint8Array; //# sourceMappingURL=compile.d.ts.map