Treeify
treeify
converts a JS object into a nice and readable tree structure for the console
Say, you an object that has the dependencies of a node module and you want to represent it as a tree structure or may you have a filesystem hierarchy to display on CLI, it's kina tough right? Well...here is treeify for you!
Get it: npm install treeify
Sample usage:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
Both would output:
1 2 3 4 5 | |
GIF FTW:

Thanks to Luke Plaster for making our life a bit more easier on the CLI.