I am trying to load a module using the require() function into my script. I don't know if it's possible to reference nodejs in a web resource. I haven't found any documentation on this. If there is another way to load a module with vanilla javascript, I would be ok with that too.
I can't use a flow or a powerapps component for this as I'm creating this for CRM 2011.