wasm

command
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Rendered for js/wasm

Overview

Command wasm builds libmdviewer for GOOS=js GOARCH=wasm. It registers its API on globalThis.__libmdviewer for the ESM wrapper (wasm/npm/ index.js) — hosts use the wrapper, not this object, so its shape may change with the wrapper in lockstep. Options/error semantics are the same strict version-1 JSON boundary the C ABI uses (internal/boundary).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL