Documentation
¶
Rendered for js/wasm
Overview ¶
Command playground is the WebAssembly entry point for the browser playground. It exposes the engine package to JavaScript as a global "sanimail" object and then blocks forever; all logic lives in playground/engine, which is fully tested on every platform. Results cross the JS boundary as JSON strings (the page JSON.parses them), keeping this glue free of js.ValueOf structure- conversion edge cases.
Only the browser-runnable transforms are exposed — crypto (PGP/S-MIME) and remote content inlining need subprocesses/network a browser cannot provide.
Click to show internal directories.
Click to hide internal directories.