I am hosting DF myself, but I am able to use
var lodash = require(“lodash”);
in my scripts without the full path. As long as the library is installed locally, the command for which I do not remember, but probably just ‘npm install lodash’ because it is in a ‘node_modules’ folder at the root of my project. I notice it is also at the ./storage/scripting path as you described. I could not tell you which one it is using.