Open
Description
It would be helpful to provide an ESM build lib/browser/index.mjs
as well as the current UMD one lib/browser/index.js
, for use in modern browsers and Deno (also supported by Bun and even NodeJS LTS now). The current UMD browser bundle crashes upon import to Deno 2.0.0 due to the removal of the window
variable (monkey patching globalThis.window = globalThis
prior to import works, but it's hacky and could be liable to break other things).