Repository
Current version released
2 years ago
Versions
ascii_tree
ascii tree for Deno module
Example
Code
const tree = createTree({
text: 'root',
children: [
{
text: 'usr',
children: [
'bin', 'lib'
]
}, {
text: 'etc',
children: [
'root', 'mail'
]
}
]
});
Result
root
├─usr
│ ├─bin
│ └─lib
└─etc
├─root
└─mail