MuPDF npm version 1.28.1 Exact upstream commit: 20061bd45183f5a2bff8f43675e4da91e5ac2901 Source archive contains all pinned thirdparty submodules. Extract archive, install emsdk and set EMSDK. In source/platform/wasm run npm install then bash tools/build.sh. Build script installs Emscripten 4.0.8. ToolGuru application: editable editor.mjs, text-engine.mjs, editor.css, editor-body.html, block.js, PHP. No transpilation needed. editor.html wraps body with local CSS and scripts.