View the folder directory tree structure, similar to the output of the tree command
-
Updated
Aug 19, 2024 - TypeScript
View the folder directory tree structure, similar to the output of the tree command
github-folder-tree is a React custom hook that allows you to fetch and process the contents of a GitHub folder. It retrieves information about the files and subfolders in the specified folder, including their names, file types, download URLs, SHA hashes, sizes, and paths. In addition, it provides the functionality to folder as a ZIP file.
TypeScript + React playground demo that implements a folder treeview with drag-and-drop (@dnd-kit), multi-select, search, inline renaming, and virtualized rendering for performance.
Folder Tree implementation with drag and drop
Add a description, image, and links to the folder-tree topic page so that developers can more easily learn about it.
To associate your repository with the folder-tree topic, visit your repo's landing page and select "manage topics."