0.0.1 • Published 2 years ago
@any-u/fs-tree v0.0.1
fs-tree
Display the tree structure in the terminal
Install
npm install @any-u/fs-tree
Usage
Get Tree Node
import{ createTreeNode } from '@any-u/fs-tree';
const treeNode = createTreeNode(path)
Display
import { displayTree } from '@any-u/fs-tree';
// deep: show folder level
displayTree(path, deep)
0.0.1
2 years ago