1 | const r=require("lodash"),e=require("fs"),i=require("path"),o=function(){const o={};var n=e.readdirSync(__dirname);if(!n)throw new Error("Error while loading modules");return n.forEach(e=>{"index.js"!==e&&r.merge(o,require(i.resolve(__dirname,e)))}),o};module.exports=o(); ; |
\ | No newline at end of file |