When I run my code in RunKit, it outputs "TypeError: mml2tex is not a function" in the console.
Here's the link for the code: https://runkit.com/embed/4rnhdcgjrzwl
var mml2tex = require("mml2tex")
const mml = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<msqrt>
<mn>2</mn>
</msqrt>
</math>
`;
const tex = mml2tex(mml);
console.log(tex);
How do I fix this?