{"id":16061132,"url":"https://github.com/robinfr/dom-bfs","last_synced_at":"2025-07-02T08:39:42.294Z","repository":{"id":57214615,"uuid":"126611393","full_name":"Robinfr/dom-bfs","owner":"Robinfr","description":"Easily perform a breadth-first-search through DOM elements","archived":false,"fork":false,"pushed_at":"2018-03-24T15:17:44.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T07:54:52.571Z","etag":null,"topics":["bfs","breadth-first-search","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:12:04.000Z","updated_at":"2018-03-24T15:19:21.000Z","dependencies_parsed_at":"2022-08-26T13:41:20.870Z","dependency_job_id":null,"html_url":"https://github.com/Robinfr/dom-bfs","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/Robinfr%2Fdom-bfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robinfr%2Fdom-bfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robinfr%2Fdom-bfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robinfr%2Fdom-bfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Robinfr","download_url":"https://codeload.github.com/Robinfr/dom-bfs/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":["bfs","breadth-first-search","dom"],"created_at":"2024-10-09T04:07:57.505Z","updated_at":"2025-04-05T09:12:49.968Z","avatar_url":"https://github.com/Robinfr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DOM Breadth-first-search\n\nAllows you to easily perform a breadth-first-search (BFS) through DOM elements.\n\n## Installation\n\nRun the following command to install:\n\n```bash\nnpm install dom-bfs --save\n```\n\n## Usage\n\nFirst import:\n\n```javascript\nimport domBFS from 'dom-bfs';\n```\n\nAnd then supply the initial DOM element and the condition for when a DOM element should be returned:\n\n```javascript\ndomBFS(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-bfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinfr%2Fdom-bfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinfr%2Fdom-bfs/lists"}