{"id":13476209,"url":"https://github.com/michalbe/md-file-tree","last_synced_at":"2025-10-28T20:38:59.929Z","repository":{"id":33887960,"uuid":"37600288","full_name":"michalbe/md-file-tree","owner":"michalbe","description":"Generate markdown list of all the files in a directory. Now also with emoji 📂 📄","archived":false,"fork":false,"pushed_at":"2023-06-25T16:19:03.000Z","size":35,"stargazers_count":171,"open_issues_count":7,"forks_count":39,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T06:05:15.534Z","etag":null,"topics":["bash-script","emoji","javascript","markdown","node","tree"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/md-file-tree","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/michalbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-06-17T14:35:33.000Z","updated_at":"2025-01-23T13:53:43.000Z","dependencies_parsed_at":"2022-08-07T23:30:29.754Z","dependency_job_id":null,"html_url":"https://github.com/michalbe/md-file-tree","commit_stats":{"total_commits":75,"total_committers":2,"mean_commits":37.5,"dds":0.1466666666666666,"last_synced_commit":"763973f3809dd1b60d6d0f73cd9d683efaba32b7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalbe%2Fmd-file-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalbe%2Fmd-file-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalbe%2Fmd-file-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalbe%2Fmd-file-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michalbe","download_url":"https://codeload.github.com/michalbe/md-file-tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247622983,"owners_count":20968575,"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":["bash-script","emoji","javascript","markdown","node","tree"],"created_at":"2024-07-31T16:01:27.634Z","updated_at":"2025-10-28T20:38:59.847Z","avatar_url":"https://github.com/michalbe.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# md-file-tree by [@michalbe](http://github.com/michalbe)\n\nGenerate markdown tree of all the files in a directory, recursively.\n\n## How to use?\n\n### Install the script\n\n```bash\n$ npm install md-file-tree -g\n```\n\n### Run the tree script in any directory\n\n```bash\n$ md-file-tree\n```\n\n### Enable emoji (📂 \u0026 📄) with the command line switch\n\n```bash\n$ md-file-tree --emoji\n$ md-file-tree -e\n```\n\n### Redirect the output to a file\n\n```bash\n$ md-file-tree \u003e list.md\n```\n\nThis generates the `list.md` file with:\n\n```markdown\n- __michal__\n  - [LICENSE](LICENSE)\n  - [README.md](README.md)\n  - __bin__\n    - [cli.js](bin/cli.js)\n  - [michal.png](michal.png)\n  - [node\\_modules](node_modules)\n  - [npm\\-debug.log](npm-debug.log)\n  - [package.json](package.json)\n  - [screen.png](screen.png)\n  - __scripts__\n    - [assert.js](scripts/assert.js)\n    - [fancom.js](scripts/fancom.js)\n    - [jshintrc.js](scripts/jshintrc.js)\n    - [package\\-json.js](scripts/package-json.js)\n    - [precommit\\-hook.js](scripts/precommit-hook.js)\n    - [scripts.js](scripts/scripts.js)\n    - [tests.js](scripts/tests.js)\n  - __tests__\n    - [michal\\-tests.js](tests/michal-tests.js)\n```\n\n## Hidden files \u0026 directories\n\nPlease note that this script __skips__ all hidden files and directories (with `.`, like `.git` or `.gitignore`) \u0026\n the contents of the `node_modules` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalbe%2Fmd-file-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichalbe%2Fmd-file-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalbe%2Fmd-file-tree/lists"}