taglib-wasm
Version:
TagLib-Wasm is the universal tagging library for TypeScript/JavaScript platforms: Browsers, Node.js, Deno, Bun, Cloudflare Workers, and Electron apps
16 lines • 712 B
TypeScript
/**
* @fileoverview Browser-only module loader for TagLib Wasm
*
* Emscripten-only loader with zero imports of WASI, Wasmer, node:fs, or Deno modules.
* Used by browser entry points to avoid bundler errors from server-only code paths.
*/
import type { LoadTagLibOptions } from "./loader-types.js";
import type { TagLibModule } from "../wasm.js";
/**
* Load the TagLib Wasm module using Emscripten only.
*
* Import paths use `./` because the browser bundle is output to `dist/`
* alongside `taglib-wrapper.js` and `taglib-web.wasm` (copied by postbuild).
*/
export declare function loadTagLibModule(options?: LoadTagLibOptions): Promise<TagLibModule>;
//# sourceMappingURL=module-loader-browser.d.ts.map