@gswl/importfolder
v1.0.14
Published
import **/\*.js or **/\*.ts
Downloads
2
Readme
importfolder
import **/*.js or **/*.ts
example
import {importFolder} from "@gswl/importfolder";
const mods = importFolder("example");
mods.forEach(mod=>{
console.log(mod.name);
console.log(mod.file);
console.log(mod.module);
});