wasmer-pack 0.7.1

A code generator that lets you treat WebAssembly modules like native dependencies.
Documentation
---
source: crates/wasmer-pack/src/js/mod.rs
expression: "files[\"package/src/bindings/index.d.ts\"].utf8_contents().unwrap()"
---
// @ts-ignore
import { WasmerPack as _WasmerPack } from "./wasmer-pack/wasmer-pack";
import { Browser as _WasmerPack__Browser } from "./wasmer-pack/browser";

/**
 * Options used when initializing the bindings.
 */
export type LoadOptions = {
    /** Additional imports to be provided to the WebAssembly module */
    imports: WebAssembly.Imports,
    /**
     * A user-specified WebAssembly module to use instead of the one bundled
     * with this package.
     */
    module: WebAssembly.Module,
};

export default class Bindings {
    wasmer_pack(browser: _WasmerPack__Browser, options?: Partial<LoadOptions>): Promise<_WasmerPack>;
}