bagaimana membuat array dengan nama file di nodej folder
var fs = require('fs');
var fileNames = fs.readdirSync(dirPath);
//Do something with fileNames here
Gifted Helper