Share your code.
Run stat on all files in a directory
var dirStat = dirStat;
The results is an array of the files. Each file has the results of stat on that file, as well as as 'fileName' and 'filePath' for identifying the file.
npm install dirStat