{"id":13736859,"url":"https://github.com/denorg/recursive-readdir","last_synced_at":"2025-04-10T23:14:59.125Z","repository":{"id":57107505,"uuid":"263915918","full_name":"denorg/recursive-readdir","owner":"denorg","description":"📁 Recursively read directories in Deno","archived":false,"fork":false,"pushed_at":"2020-06-01T11:53:00.000Z","size":23,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-10T23:14:52.871Z","etag":null,"topics":["deno","denoland","deonrg","fs","readdir","recursion","typescript"],"latest_commit_sha":null,"homepage":"https://denorg.github.io/recursive-readdir/","language":"TypeScript","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/denorg.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}},"created_at":"2020-05-14T12:59:42.000Z","updated_at":"2024-10-25T00:51:11.000Z","dependencies_parsed_at":"2022-08-20T17:10:57.286Z","dependency_job_id":null,"html_url":"https://github.com/denorg/recursive-readdir","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denorg%2Frecursive-readdir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denorg%2Frecursive-readdir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denorg%2Frecursive-readdir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denorg%2Frecursive-readdir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denorg","download_url":"https://codeload.github.com/denorg/recursive-readdir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312134,"owners_count":21082638,"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":["deno","denoland","deonrg","fs","readdir","recursion","typescript"],"created_at":"2024-08-03T03:01:29.866Z","updated_at":"2025-04-10T23:14:59.106Z","avatar_url":"https://github.com/denorg.png","language":"TypeScript","readme":"# 📁 Recursive Readdir\n\nRecursively read a directory in Deno.\n\n[![Deno CI](https://github.com/denorg/recursive-readdir/workflows/Deno%20CI/badge.svg)](https://github.com/denorg/recursive-readdir/actions)\n[![GitHub](https://img.shields.io/github/license/denorg/recursive-readdir)](https://github.com/denorg/recursive-readdir/blob/master/LICENSE)\n[![Contributors](https://img.shields.io/github/contributors/denorg/recursive-readdir)](https://github.com/denorg/recursive-readdir/graphs/contributors)\n[![Deno Starter](https://img.shields.io/badge/deno-starter-brightgreen)](https://denorg.github.io/starter/)\n[![Made by Denorg](https://img.shields.io/badge/made%20by-denorg-0082fb)](https://github.com/denorg)\n[![TypeScript](https://img.shields.io/badge/types-TypeScript-blue)](https://github.com/denorg/recursive-readdir)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n```ts\nimport { recursiveReaddir } from \"https://deno.land/x/recursive_readdir/mod.ts\";\n\nconst files = await recursiveReaddir(\"path/to/dir\"); // string[]\n```\n\nRequired permissions:\n\n1. `--allow-read`\n\n## 💡 Recipes\n\nSearch for all markdown files in the `content` folder:\n\n```ts\nimport { recursiveReaddir } from \"https://deno.land/x/recursive_readdir/mod.ts\";\nimport { join, extname } from \"https://deno.land/std/path/mod.ts\";\n\nconst markdownFiles = (await recursiveReaddir(join(\".\", \"content\"))).filter(\n  (file: string) =\u003e extname(file) === \".md\"\n);\n```\n\n## 👩‍💻 Development\n\nRun tests:\n\n```bash\ndeno test --allow-read\n```\n\n## 📄 License\n\nMIT © [Denorg](https://den.org.in)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://den.org.in\"\u003e\n    \u003cimg width=\"100\" alt=\"\" src=\"https://raw.githubusercontent.com/denorg/denorg/master/logo.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003csub\u003eA project by \u003ca href=\"https://den.org.in\"\u003eDenorg\u003c/a\u003e, the world's first Deno-focused community\u003cbr\u003eorganization and consulting company. \u003ca href=\"https://den.org.in\"\u003eWork with us →\u003c/a\u003e\u003c/sub\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":["基础设施","Modules","TypeScript"],"sub_categories":["JAM Stack/静态站点","Online Playgrounds","Utils","Assistants"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenorg%2Frecursive-readdir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenorg%2Frecursive-readdir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenorg%2Frecursive-readdir/lists"}