-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Mark Root edited this page Sep 6, 2024
·
6 revisions
The AMO-Tools-Suite is developed using C++ and distributed as WebAssembly. The necessary files for using the tools suite in your project are published to npm at https://www.npmjs.com/package/amo-tools-suite.
To use the tools suite calculations you will need the contents of the bin folder that has been published. The two files you need are client.js
and client.wasm
. These files have been generated by Emscripten. Per Emscripten:
These two are built to work together: run the .js file, and it will load and set up the WebAssembly code for you, properly setting up imports and exports for it, etc.
Since these artifacts are published to npm, they can be grabbed in one of two ways:
- Add the script to your .html page using unpkg
-
npm install amo-tools-suite
The files will then be in your node_modules folder