The library has been configured to work in multiple environments:
ESM (Client-side applications)
For client-side applications built using imports, an ES Module is available for you to install and
import into your project.
npm i @xapi/cmi5 --save
import Cmi5 from "@xapi/cmi5";// Create Cmi5 instanceconst cmi5: Cmi5 = new Cmi5();// Initialize AUcmi5.initialize();