For V8js server side scripting you can store javascript files to be included in [DF Installation]/htdocs/storage/scripting
. Then just require them the same way you mentioned in the OP.
↧
Adding Javascript libraries to Bitnami DF 2
↧