I’m new to javascript and have a situation where I’d like to use math.js from within a CustomJS callback. What steps do I need to take to hit this dependency? I’ve installed via npm, but simply calling require("mathjs")
from the CustomJS source doesn’t work:
Error: Cannot find module ‘mathjs’
``
My guess is that I’m missing something simple about javascript…