{"id":21834321,"url":"https://github.com/spatocode/dirwalk","last_synced_at":"2026-04-12T21:40:34.967Z","repository":{"id":57161862,"uuid":"230684205","full_name":"spatocode/dirwalk","owner":"spatocode","description":"Directory tree traversal in nodejs","archived":false,"fork":false,"pushed_at":"2019-12-30T23:08:24.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T06:16:27.713Z","etag":null,"topics":[],"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/spatocode.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":"2019-12-29T00:33:45.000Z","updated_at":"2019-12-30T23:08:26.000Z","dependencies_parsed_at":"2022-09-09T15:51:39.880Z","dependency_job_id":null,"html_url":"https://github.com/spatocode/dirwalk","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/spatocode%2Fdirwalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatocode%2Fdirwalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatocode%2Fdirwalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatocode%2Fdirwalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatocode","download_url":"https://codeload.github.com/spatocode/dirwalk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244811374,"owners_count":20514276,"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":[],"created_at":"2024-11-27T20:10:14.206Z","updated_at":"2026-04-12T21:40:29.920Z","avatar_url":"https://github.com/spatocode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dirwalk\n\nDirectory tree traversal in nodejs\n\n## Installation\n\n```sh\n$ npm install @spatocode/dirwalk\n```\n\n## Usage\n\n\n```js\nconst dirwalk = require(\"@spatocode/dirwalk\");\n\n// Asynchronous function\ndirwalk.walk(\"path/to/dir\", (err, path, info) =\u003e {\n    if (err) {\n        throw err;\n    }\n    console.log(path, \" : \", info.size);\n});\n\n// Synchronous function\nvar files = dirwalk.walkSync(\"path/to/dir\");\nconsole.log(files);\n```\n\n## License\n\n[MIT License](http://www.github.com/spatocode/dirwalk/blob/master/LICENSE)\nCopyright (c) 2019 Ekene Izukanne\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatocode%2Fdirwalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspatocode%2Fdirwalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatocode%2Fdirwalk/lists"}