You can use this library by downloading a standalone zip containing the necessary files, by linking to our CDN, or by installing from NPM for use in a webpack project.
You can find the respective download links and installation instructions here.
Once downloaded, unzip into your web project and reference from your HTML like this:
Reference the zappar.js library from your HTML like this:
* Version number can be found on the Downloads and SDKs page.
NPM Webpack Module
Run the following NPM command inside your project directory:
npm install --save @zappar/zappar
import * as Zappar from "@zappar/zappar";
The final step is to add this necessary entry to your webpack rules: