https://github.com/douxxtech/treegenerator
A tool to generate tree structures of directories.
https://github.com/douxxtech/treegenerator
Last synced: 4 months ago
JSON representation
A tool to generate tree structures of directories.
- Host: GitHub
- URL: https://github.com/douxxtech/treegenerator
- Owner: douxxtech
- License: mit
- Created: 2025-02-26T16:18:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-26T16:18:38.000Z (over 1 year ago)
- Last Synced: 2025-03-12T06:20:48.952Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# โTreeGenerator
TreeGenerator is a command-line tool for generating and visualizing directory tree structures in a terminal.
## ๐ Requirements
To run TreeGenerator, ensure you have the following installed:
**Base:**
- [Node.js](https://nodejs.org/) (v14 or higher recommended)
- [npm](https://www.npmjs.com/get-npm)
**Packages:**
- [blessed](https://www.npmjs.com/package/blessed)
- [colors](https://www.npmjs.com/package/colors)
- [clipboardy](https://www.npmjs.com/package/clipboardy)
*Note: All these packages are available on [npm](https://www.npmjs.com/). You can install them using `npm install package-name`.*
## ๐ Installation
Follow these steps to install TreeGenerator:
1. Ensure you have Node.js and npm installed on your machine.
2. Open your terminal.
3. Copy and paste the following command:
```
npm install -g @douxx/treegenerator
```
4. TreeGenerator is now installed globally on your system. You can run it using the command:
```
tree
```
## โ๏ธ Usage
To generate a tree for a specific directory, use the following command:
```
tree
```
or
```
tg
```
Replace `` with the absolute or relative path of the directory you want to visualize.
## ๐ License
This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.
## ๐ Links
- **Repository:** [https://github.com/douxxtech/TreeGenerator](https://github.com/douxxtech/TreeGenerator)
- **Issues:** [https://github.com/douxxtech/TreeGenerator/issues](https://github.com/douxxtech/TreeGenerator/issues)