mihneadb / node-directory-tree

Convert a directory tree to a JS object.
MIT License
523 stars 106 forks source link

Added support for maxDepth #67

Open mukeshkmr776 opened 5 years ago

mukeshkmr776 commented 5 years ago

Added new option: maxDepth

Now, we can pass option as 'maxDepth' with numerical value of upto how much depth tree traversal should be done and returned.