{"id":16061138,"url":"https://github.com/robinfr/dom-dfs","last_synced_at":"2025-04-05T09:12:44.848Z","repository":{"id":57214644,"uuid":"126611303","full_name":"Robinfr/dom-dfs","owner":"Robinfr","description":"Easily perform a depth-first-search through DOM elements","archived":false,"fork":false,"pushed_at":"2018-04-03T06:29:25.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T10:40:49.265Z","etag":null,"topics":["depth-first-search","dfs","dom"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Robinfr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-24T15:11:04.000Z","updated_at":"2018-04-03T06:29:11.000Z","dependencies_parsed_at":"2022-08-26T13:41:27.402Z","dependency_job_id":null,"html_url":"https://github.com/Robinfr/dom-dfs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robinfr%2Fdom-dfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robinfr%2Fdom-dfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robinfr%2Fdom-dfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robinfr%2Fdom-dfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Robinfr","download_url":"https://codeload.github.com/Robinfr/dom-dfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312093,"owners_count":20918344,"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":["depth-first-search","dfs","dom"],"created_at":"2024-10-09T04:07:58.676Z","updated_at":"2025-04-05T09:12:44.825Z","avatar_url":"https://github.com/Robinfr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DOM Depth-first-search\n\nAllows you to easily perform a depth-first-search (DFS) through DOM elements.\n\n## Installation\n\nRun the following command to install:\n\n```bash\nnpm install dom-dfs --save\n```\n\n## Usage\n\nFirst import:\n\n```javascript\nimport domDFS from 'dom-dfs';\n```\n\nAnd then supply the initial DOM element and the condition for when a DOM element should be returned:\n\n```javascript\ndomDFS(startingElement, element =\u003e element.className === 'orange');\n```\n\n## TypeScript typings\n\nTypeScript typings are included in the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinfr%2Fdom-dfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinfr%2Fdom-dfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinfr%2Fdom-dfs/lists"}