{"id":20440979,"url":"https://github.com/your-local-developer/walker","last_synced_at":"2025-07-21T16:03:39.451Z","repository":{"id":61364203,"uuid":"536594563","full_name":"your-local-developer/walker","owner":"your-local-developer","description":"A small and simple library for traversing nested directories.","archived":false,"fork":false,"pushed_at":"2023-03-06T18:08:08.000Z","size":1043,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T07:45:55.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/your-local-developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-14T13:37:18.000Z","updated_at":"2023-12-06T20:31:31.000Z","dependencies_parsed_at":"2024-11-19T02:02:06.000Z","dependency_job_id":null,"html_url":"https://github.com/your-local-developer/walker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"your-local-developer/ts-node-template","purl":"pkg:github/your-local-developer/walker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-local-developer%2Fwalker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-local-developer%2Fwalker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-local-developer%2Fwalker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-local-developer%2Fwalker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/your-local-developer","download_url":"https://codeload.github.com/your-local-developer/walker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/your-local-developer%2Fwalker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266332342,"owners_count":23912659,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-15T09:28:18.313Z","updated_at":"2025-07-21T16:03:39.426Z","avatar_url":"https://github.com/your-local-developer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚶🌳📁\n\nA small and simple library for traversing nested directories.\n\n## Usage\n\nA very simple example:\n\n```js\nimport {walk, WalkError} from '@bode.fun/walker'\n\nfor (const dirent of walk({rootPath: new URL('./node_modules', import.meta.url)})) {\n    if (dirent instanceof WalkError) {\n        console.error(dirent.path)\n    } else {\n        // This will be a lot 🥲\n        console.log(dirent.path)\n    }\n}\n```\n\nLimiting the depth to only one subdirectory:\n\n```js\nimport {walk, WalkError} from '@bode.fun/walker'\n\nfor (const dirent of walk({rootPath: new URL('./node_modules', import.meta.url), depthLimit: 1})) {\n    if (dirent instanceof WalkError) {\n        console.error(dirent.path)\n    } else {\n        // This will not be as much 🥳\n        console.log(dirent.path)\n    }\n}\n```\n\n## 📝 License\n\nThis library is licensed under [the MIT License](https://mit-license.org/) - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyour-local-developer%2Fwalker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyour-local-developer%2Fwalker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyour-local-developer%2Fwalker/lists"}