Hello,
I wanted to use a nodeJS module in my plugin, but do not know how to define it.
I've installed the module with npm isntall. Now it located in the node_modules folder.
For the other JS files I define them in AMD style like
define(["block_my_plugin/ScriptToUse"], function (ScriptObj) {
...
}