A technical demo of WASM-compiled SDKs for web applications.
<div id="sdk-container">
</div>
1. Install the SDK
npm install @viewer/sdk
2. Create the instance passing the container div ID
import { editor } from "@viewer/sdk";
const instance = await editor.init("sdk-container");
3. Use any commands exposed by the SDK
instance.loadBase64Image(base64String);