Any ideas on an async directory search using fs.readdir? I realise that we could introduce recursion and call the read directory function with the next directory to read, bu
I must add the Promise-based sander library to the list.
var sander = require('sander'); sander.lsr(directory).then( filenames => { console.log(filenames) } );