Analyze a directory substructure and return it as an object.
Traverses a given directory and builds a tree from its structure.
npm install dirscanner
dirscanner(target, ignore, start);
The path to scan.
Optional array of regexp objects. Any basename matching this pattern will not be scanned. Might be expanded to include full paths in the future.
Third optional argument, pass false if you don't want the dirscanner to start immediately.
Start scan in target directory.
var dirscanner = ;var ds = ;ds;