headroom-wasm

command
v0.4.0 Latest Latest
Warning

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

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

Documentation

Rendered for js/wasm

Overview

Command headroom-wasm is the analyzer compiled for a browser.

It exists so somebody can try the tool on their own plan without installing anything, and so the thing they try is the tool rather than a demonstration of it: same parser, same graph, same rules, same catalog, same renderer.

What it is not is a service. There is no fetch here, no upload, no identifier and no storage. The plan is a string that arrives from a text box in the same tab, is decoded inside this module, and is gone when the page is. Nothing in this binary can open a socket, which is a property of the file and not a promise: the update check, the uploader and os/exec are all absent from the import graph, and the build tag above is the only way in.

The whole file is a binding. Every decision lives in internal/webrun, which is ordinary Go and is covered by the suite that runs on this machine, because a package behind a js/wasm build tag cannot be.

Jump to

Keyboard shortcuts

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