UNPKG

github-folder-tree

Version:

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,

7 lines (6 loc) 103 B
export interface RepoInfo { user: string; repo: string; branch: string; dir: string; }