I\'m trying to create an npm package, so it can be accessed from another any JavaScript class, or use my bundle to call the function directly from the HTML script tag.