README
This package is ESM only
and can be used in Node.js
(or in a browser when bundled using e.g. Webpack).
Additionally, self-contained ECMAScript Module
(ESM) files index.module.js
and
index.module.min.js
in the ./browser
folder is provided.
Or, if you need a legacy browser script there is also index.js
and index.min.js
in the ./browser
folder. Either script exposes a global
variable.