Recursively list all files with absolute path in a directory and its subdirectories by the extension given. It does not list the directories themselves.
npm install recursive-readdir-sync
var recursiveReaddir = ;var files =
It can also take an extension which lists only files with that extension.
var recursiveReaddir = ;// list only files with extension .mdvar files =
MIT © Ashok