The wasm package builds a WebAssembly module that provides a subset of
Tailscale APIs to JavaScript.
When run in the browser, a newIPN(config) function is added to the global JS
namespace. When called it returns an ipn object with the methods
run(callbacks), login(), logout(), and ssh(...).