list all file with full path in directory nodejs code example
Example: node get all files in folder
fs.readdir('./', (err, files) => {
files.forEach(file => {
// console.log(file);
})});
fs.readdir('./', (err, files) => {
files.forEach(file => {
// console.log(file);
})});