Skip to main content

JavaScript

Browser bundles

We distribute several JavaScript files, each of which "bundles" different parts of the system so that you can tailor it to your site without the need for a custom build process.

Our browser bundles (with the .js filename extension) conform to the Universal Module Definition (UMD) spec, and—barring availability of browser globals such as window and document—should run in both web browsers and Node.js.

<BundleTable files={bundles.filter(b => b.path.includes('.js'))} />

ESM

Each bundle is also available in the ECMAScript Module (ESM) format with the .mjs extension:

<BundleTable files={bundles.filter(b => b.path.endsWith('.mjs'))} />