node-directory-tree
node-directory-tree copied to clipboard
Add parsing such as dree
Hi,
first of all I want to thank you, because for parts of a similar library I have done I took inspiration by your json result
In my implementation, dree I have also added a parse function (in addition to other functionalities`, which prints the directory tree as a human-readable tree
Do you think you could implement it also in this library? I think it would be useful, especially when generating directory trees in markdown files
Hi, I'm not sure what you mean with parse. What would it do?
It creates a string like this:

Of course just by the name was it difficult to guess, it is described in the documentation
Oh, so you mean serialize a directory as a string.