Skip to content
omerbaa edited this page Jan 29, 2025 · 3 revisions

The MEASUR-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/MEASUR-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:

  1. Add the script to your .html page using unpkg

image

  1. npm install MEASUR-tools-suite The files will then be in your node_modules folder
Clone this wiki locally