I try to decode my fit files wirh the Javascript SDK. I have to use it solely from a server in my browser without node.js and npm. So how can I do that? I have to say that I am not a Javascript expert, although I am able to write some code. How do I have to import the SDK without npm? The official document only gives instructions for npm, although it says it works also without node.js in a browser. Can someone give me some lines of basic code please that imports the SDK and a fit file and then decodes the fit file? That would really be of enormous help for me.
I even trtied the code from the documentation with npm in a VM to have at least a small sense of achievement, but all I get is "Cannot use import statement outside a module" ...
Thanks in advance for helping!