{"id":17956887,"url":"https://github.com/wangrongding/folder-print","last_synced_at":"2025-03-25T02:31:30.554Z","repository":{"id":61649980,"uuid":"553566602","full_name":"wangrongding/folder-print","owner":"wangrongding","description":"🌿快速生成文件夹目录结构，支持定义目录层级，支持生成到 markdown 文件。","archived":false,"fork":false,"pushed_at":"2022-10-19T06:14:18.000Z","size":9,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T07:03:30.512Z","etag":null,"topics":["direcrory-structure","file-tree","folder","folder-print"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/folder-print","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wangrongding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-18T12:15:11.000Z","updated_at":"2024-07-24T18:38:33.000Z","dependencies_parsed_at":"2022-10-20T11:00:37.125Z","dependency_job_id":null,"html_url":"https://github.com/wangrongding/folder-print","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangrongding%2Ffolder-print","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangrongding%2Ffolder-print/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangrongding%2Ffolder-print/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangrongding%2Ffolder-print/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangrongding","download_url":"https://codeload.github.com/wangrongding/folder-print/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245385480,"owners_count":20606657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["direcrory-structure","file-tree","folder","folder-print"],"created_at":"2024-10-29T10:43:33.522Z","updated_at":"2025-03-25T02:31:30.299Z","avatar_url":"https://github.com/wangrongding.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# folder-print\n\n## 介绍(Description)\n\n快速生成文件夹目录结构，支持定义目录层级，支持生成到 markdown 文件。  \nQuickly generate folder directory structure, support for defining directory hierarchy, support for generating to markdown files.\n\n## 安装(Install)\n\n```sh\nnpm i folder-print -g\n```\n\n当然你也可以直接使用 npx 运行  \nOf course you can also run it directly with npx\n\n```sh\nnpx folder-print\n```\n\n## 使用(usage)\n\n### 输出当前目录的树形结构：(默认输出最大层级为 10)\n\nOutput the tree structure of the current directory: (default output maximum level is 10)\n\n```sh\nfp\n# or\nfolder-print\n# 免安装(No installation)\nnpx folder-print\n```\n\n![](https://assets.fedtop.com/picbed/202210182135912.png)\n\n### 指定输出最大层级\n\n(Specify the maximum level of output)\n\n```sh\n# 指定输出最大层级(Specify the maximum level of output)\nfp -d 0\n# or\nfolder-print -d 0\n# 免安装(No installation)\nnpx folder-print -d 0\n```\n\n指定输出最大层级  \nSpecify the maximum level of output  \n![](https://assets.fedtop.com/picbed/202210182134984.png)\n\n### 将输出结果保存到文件中\n\nSave the output result to a file\n\n```sh\n# 将输出结果保存到文件中(Save the output result to a file)\nfp -p\n# or\nfolder-print -p\n# 免安装(No installation)\nnpx folder-print -p\n```\n\n![](https://assets.fedtop.com/picbed/202210191352186.png)\n\n\u003c!-- 输出指定目录的树形结构：\n```sh\ntree /path/to/dir\n# or\nfp /path/to/dir\n``` --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangrongding%2Ffolder-print","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangrongding%2Ffolder-print","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangrongding%2Ffolder-print/lists"}