@wasmer/wasm-transformer
It helps to run WebAssembly modules in Browsers that doesn't have Wasm BigInt support
version
import { version } from "wasm-transformer";
console.log(version()) // x.x.xlowerI64Imports
import { lowerI64Imports } from "@wasmer/wasm-transformer";
const transformWasmModuleBytes = async () => {
const myWasmModuleBytes = new Uint8Array([ ... ]);
const loweredWasmModuleBytes = await lowerI64Imports(myWasmModulesBytes);
};
transformWasmModuleBytes();Last updated