It exports an ES Module with .mjs extension (for web) and a CommonJS module for node (for use with require()).
Example uses are found in
test.js (node) and
Emscripten (emcc and related) tools are needed for the build.
ATM the ESM module only supports web and the CJS module only supports running in node. When https://github.com/emscripten-core/emscripten/issues/11792 and related issues are fixed,
First todo is to make a wrapper function that returns the results of
report() as an object instead
of logging to the console.