Answers for "get all files from a directory js"

6

node get all files in folder

fs.readdir('./', (err, files) => {
    files.forEach(file => {
    //   console.log(file);
})});
Posted by: Guest on March-15-2021

Code answers related to "get all files from a directory js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language