GetFileList
These commands will list all files in the directory of your script (__dirname
) :
const gf=require("shgetfilelist");
gf(__dirname).then((s)=>{ s.forEach((r)=>{console.log(r);}); });
These commands will list all files in the directory of your script (__dirname
) :
const gf=require("shgetfilelist");
gf(__dirname).then((s)=>{ s.forEach((r)=>{console.log(r);}); });
npm i shgetfilelist
1
1.0.0
ISC
2.4 kB
5