node-directory-tree
node-directory-tree copied to clipboard
Any way to change default attributes?
Hi, I would like to get rid of the dafault "path" attribute. Is it possible?
Hi, right now path is always there. You could walk the tree and strip it down.
https://github.com/mihneadb/node-directory-tree/blob/master/lib/directory-tree.js#L60