Simple recursive file and directory reader using synchronous node fs calls
Just a small utility that I had to copy for many of my modules. Will scan a directory recursively, keep track of both files and directories, and return two flattened arrays.
npm install fsx
var fsx = ;var output = fsx;
console;->dirs: pathstodirsfiles: paths to files