I’m not familiar with typescript so I just kept struggling and stumbling through it
Here’s what I eventually did and maybe you can tell me if there was an easier way
-Created a typescript project folder
-npm installed your library
-Created a file to export each function I needed (see image below)
-Packaged it into a webpack
-npm run build to get bundle.js file
-Host bundle.js on cloudflare
Now my webapp has your functions and all I need in my HTML is:
“”

