{"id":19845636,"url":"https://github.com/artiely/treeplus","last_synced_at":"2025-05-01T21:30:44.924Z","repository":{"id":53460145,"uuid":"124817727","full_name":"artiely/treeplus","owner":"artiely","description":"快速生成项目结构图","archived":false,"fork":false,"pushed_at":"2021-03-30T08:46:19.000Z","size":14,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-24T18:36:16.844Z","etag":null,"topics":["directory","file","folder","nodejs","nodejs-modules","structure","tree"],"latest_commit_sha":null,"homepage":null,"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/artiely.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":"2018-03-12T01:34:54.000Z","updated_at":"2022-03-30T10:01:38.000Z","dependencies_parsed_at":"2022-09-15T23:13:07.600Z","dependency_job_id":null,"html_url":"https://github.com/artiely/treeplus","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/artiely%2Ftreeplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artiely%2Ftreeplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artiely%2Ftreeplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artiely%2Ftreeplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artiely","download_url":"https://codeload.github.com/artiely/treeplus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224278474,"owners_count":17285080,"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":["directory","file","folder","nodejs","nodejs-modules","structure","tree"],"created_at":"2024-11-12T13:08:46.101Z","updated_at":"2024-11-12T13:08:47.064Z","avatar_url":"https://github.com/artiely.png","language":"JavaScript","readme":"\u003e treeplus is a node module for creating and manipulating hierarchical tree structures.\n\n\u003e 很多时候我们在输出项目结构， 但是我们需要排除一些文件或者只需要文件夹结构，treeplus 就很好的实现了这些。\n\n# Install\n\n```bash\n$ npm install treeplus -g\n```\n\n# Usage\n\n```bash\n$ [tp|treeplus]\n# or\n$ [tp|treeplus] --help 查看帮助\n```\n\n# example\n\n```bash\n$ tp -i node_modules\n# 指定参数，排除单个目录\n# Returns\n\n├──bin\n│ └──treeplus.js\n├──package-lock.json\n├──package.json\n└──README.md\n```\n\n```bash\n# 指定参数，排除多个目录\n$ tp -i node_modules bin\n\n# Returns\n\n├──package-lock.json\n├──package.json\n└──README.md\n```\n\n```bash\n# 指定参数，只打印文件夹\n$ tp -d\n\n# Returns\n\n├──bin\n```\n\n```bash\n# 指定参数，打印指定的层级,参数大于0\n$ tp -l 1\n\n# Returns\n\n├──bin\n```\n\n```bash\n# 多参数结合使用\n$ tp -d -l 2 -i node_modules\n\n# Returns\n\n├──bin\n```\n\n```bash\n$ tp\n\n# Returns\n\n├──bin\n│ └──treeplus.js\n├──node_modules\n│ ├──.bin\n│ │ ├──index.js\n│ │ ├──LICENSE\n│ │ ├──package.json\n│ │ ├──README.md\n│ │ └──yargs.js\n│ ├──yargs-parser\n│ │ ├──lib\n│ │ │ └──tokenize-arg-string.js\n│ │ ├──CHANGELOG.md\n│ │ ├──index.js\n│ │ ├──LICENSE.txt\n│ │ ├──package.json\n│ │ └──README.md\n├──package-lock.json\n├──package.json\n└──README.md\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartiely%2Ftreeplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartiely%2Ftreeplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartiely%2Ftreeplus/lists"}