LICENSE
MIT
GOAL
Bind a directory to an object and load the modules in the directory dynamically.
INSTALL
npm i node-traverse
HOW TO USE
# game# ├ user# │ └ weaponjs -------- exportsid = 3;# ├ Fashionjs -------- exports{ return 1; };# ├ Fashion# │ └ hairjs -------- exportsid = 4;# ├ friendjs -------- {thisn = n};An=2;moduleexports=A;# └ userjs -------- exportsid = 2; const Trav = ;const trav = Trav; travFashion; // 1travFashionhairid; // 4travuserid; // 2travuserweaponid; // 3 const trav = Trav; travfriendn; // hee; const trav = Trav; travfriendn; // 2;travn; // hee;