tree-export

Export your project folder structure as a tree in multiple formats (md, txt, mdx, png, jpg, svg).

🚀 Features


📦 Installation

Install globally via npm:
npm install -g tree-export
` Or run directly using npx without installing:
npx tree-export -d ./target-folder -o output.md -f md

⚙️ Usage

tree-export [options]

Options

Parameter Description Default
-d, --dir Target directory to generate the tree from Current directory (.)
-o, --output Output file path including filename tree-output.md
-f, --format Output format: txt, md, mdx, png, jpg, svg md

💡 Examples

npx tree-export -d . -o structure.md -f md
npx tree-export -d ./src -o src-tree.txt -f txt
npx tree-export -d ./project -o project-structure.mdx -f mdx
npx tree-export -d ./src -o src-tree.svg -f svg
npx tree-export -d ./src -o src-tree.png -f png
npx tree-export -d ./src -o src-tree.jpg -f jpg

📋 Notes


🛠️ How It Works


📝 License

MIT © \[Osman Beyhan]

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page and submit pull requests.
Happy tree exporting! 🌳🚀

Author: Osman Beyhan

GitHub NPM Yarn Web

❤️ Make via MDtoWeb