recursive-readir-sync
Recursively list all files with absolute path in a directory and its subdirectories by the extension given. It does not list the directories themselves.
Installation
npm install recursive-readdir-sync
Usage
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 =
License
MIT © Ashok