{"id":13446961,"url":"https://github.com/aweary/alder","last_synced_at":"2025-08-20T02:32:15.593Z","repository":{"id":66095871,"uuid":"79868264","full_name":"aweary/alder","owner":"aweary","description":"A minimal implementation of the UNIX tree command with colors!","archived":false,"fork":false,"pushed_at":"2017-06-20T12:29:55.000Z","size":52,"stargazers_count":228,"open_issues_count":2,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-09T21:32:19.027Z","etag":null,"topics":["command","terminal"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aweary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-01-24T01:48:35.000Z","updated_at":"2024-11-10T02:00:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"bfb23254-57d6-4ff7-b231-5f791fa06ae5","html_url":"https://github.com/aweary/alder","commit_stats":null,"previous_names":["aweary/tree"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aweary%2Falder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aweary%2Falder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aweary%2Falder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aweary%2Falder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aweary","download_url":"https://codeload.github.com/aweary/alder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230081845,"owners_count":18169847,"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":["command","terminal"],"created_at":"2024-07-31T05:01:04.283Z","updated_at":"2024-12-19T06:08:28.628Z","avatar_url":"https://github.com/aweary.png","language":"JavaScript","readme":"# alder 🌳\n A recursive directory listing program that supports file-size reporting, and pattern matching. Inspired by the [`tree`](http://www.computerhope.com/unix/tree.htm)\nUNIX command.\n\n![Alder: the better tree printer](http://i.imgur.com/8qhaxvG.png)\n\n## Installation\n`alder` should be installed globally using `yarn`.\n```\nyarn global add @aweary/alder\n```\nor with `npm`:\n```\nnpm install -g @aweary/alder\n```\n\n## Usage\n\n```\n  Usage: alder [options] [target]\n\n  Options:\n\n    -h, --help           output usage information\n    -a, --all            Print all files, including hidden files\n    -d, --depth \u003cn\u003e      Only render the tree to a specific depth\n    -D, --directories    Only print directories\n    -e, --exclude \u003cs\u003e    Exclude files matching a pattern\n    -f, --full           Print the full path prefix for each file\n    -i, --no-indent      Tree will not print the indentation lines\n    -I, --git-ignore     Exclude files in .gitignore\n    -p, --include \u003cs\u003e    Include only files that match a pattern\n    -s, --sizes          Show file sizes in tree\n    -t, --time-stamp     Print the last modified date for each file\n    -V, --version        output the version number\n    --prune              Prune empty directories from the output\n    --filelimit \u003cn\u003e      Do not descend directories that contain more than # entries\n    --jsx                Print directory structure as JSX\n```\n\n### Exclude pattern\n\nYou can pass a string that will be parsed as a regular expression to `--exclude`:\n\n```sh\n# excluding single directory\nalder --exclude=.git\n\n# excluding multiple directories\nalder --exclude=\".git|bower_components|node_modules\"\n```\n\n### Include pattern\n\nYou can pass a string that will be parsed as a regular expression to `--include`:\n\n```sh\n# including single file pattern\nalder --include=package\n\n# including multiple files patterns\nalder --include=\"package|webpack\"\n```\n","funding_links":[],"categories":["JavaScript","Files and Directories","terminal","\u003ca name=\"file-explorer\"\u003e\u003c/a\u003eFile explorer and tree visualization"],"sub_categories":["Directory Listing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faweary%2Falder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faweary%2Falder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faweary%2Falder/lists"}