This is a tool that let's you build ASCII Filesystem tree visualizations using an inuitive drag and drop UI, resulting in an ascii tree below:
npm install -S @johndotawesome/asctree
import { create as asctree } from 'asctree' const tree = asctree('root/') .folder(asctree('new-folder/').file('file-1.txt')) .file('file-2.txt') // root/ // ├── new-folder/ // │ └── file-1.txt // └── file-2.txt console.log(tree.toString())