Answers for "how create array with names of files in folder nodejs"

0

how create array with names of files in folder nodejs

var fs = require('fs');   
var fileNames = fs.readdirSync(dirPath);
//Do something with fileNames here
Posted by: Guest on December-01-2020

Code answers related to "how create array with names of files in folder nodejs"

Code answers related to "Javascript"

Browse Popular Code Answers by Language