@drodsou/tree2text (npm): Converts object tree to text
Keywords: object|tree|text|menu|table of contents|javascript