fix: add ECMAscript module
_Ideally_, we would just want to export it as ECMAscript module. For now, to support both, we can use a shared JSON file. It would be nice to use the `import cfg from "./config.js" assert { "json" };` but that is experimental.