Example: Load mathjs to evaluate a complex expression:
// Use await import to load the package:
const mathjs = await import("https://cdn.skypack.dev/mathjs");
// Use any function in the package:
return mathjs.evaluate("sin(45 deg) ^ 2");
Sorry I rose a stink over this, but I’m glad you found a way to import.