This PR adds ESM support to the JS module. This makes it possible to use it in most non-Node runtimes (see the import assertions rows) directly without an extra compilation step.
I also renamed the CommonJS file to make the difference between the two index files more clear.
This PR adds ESM support to the JS module. This makes it possible to use it in most non-Node runtimes (see the import assertions rows) directly without an extra compilation step.
I also renamed the CommonJS file to make the difference between the two index files more clear.