# treevis **Repository Path**: yinmingjun/treevis ## Basic Information - **Project Name**: treevis - **Description**: No description available - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-08 - **Last Updated**: 2021-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # treevis Treevis is a small utility to graph LeetCode trees. It's useful to debug visually test cases. ## How to Use If you want to install it globally so it gets added to your `$PATH` you can do it with ``` $ npm install -g treevis # or $ yarn global add treevis ``` then ``` $ treevis ``` Or if you don't want to install globally, and just want to run some tests ``` $ npx treevis ``` ## Example Make sure to wrap your tree in single quotes otherwise your shell might try to interpret the square brackets. ``` $ treevis '[5,4,7,3,null,2,null,-1,null,9]' 5 / \ / \ 4 7 / / 3 2 / / -1 9 ```