geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
Not as comprehensive as #227, but another option to think about. This PR changes the source to node-compatible ESM, meaning that tests can be run in ESM (no need to @babel/register with mocha). It fixes the issue with the Worker tests failing.
EDIT: I closed #227 in favor of this PR. It would be great to have an browser ESM bundle, but this PR offers a smaller step in that direction. See #227 for more details about the motivation for ESM.
Not as comprehensive as #227, but another option to think about. This PR changes the source to node-compatible ESM, meaning that tests can be run in ESM (no need to @babel/register with mocha). It fixes the issue with the Worker tests failing.
EDIT: I closed #227 in favor of this PR. It would be great to have an browser ESM bundle, but this PR offers a smaller step in that direction. See #227 for more details about the motivation for ESM.