ascii-tree-cli
a utility to convert indented line to ascii tree.
Last updated 3 years ago by jianglibo .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ascii-tree-cli -g
SYNC missed versions from official npm registry.

ascii-tree-cli

convert one asciitree.

npm install -g ascii-tree-cli

//to file
asciitree -i demo.txt -o demo.processed.txt

//to console,then copy and paster.
asciitree -i demo.txt

input format

-start-
firstlevel
-sec
--third
-sec
--third
---fourth
firstlevel
-end-

out:

├── firstlevel
|   ├── sec
|   |   └── third
|   └── sec
|       └── third
|           └── fourth
└── firstlevel

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |