{"id":18552557,"url":"https://github.com/andrejewski/connectivity","last_synced_at":"2025-05-15T11:13:27.314Z","repository":{"id":68511626,"uuid":"55746432","full_name":"andrejewski/connectivity","owner":"andrejewski","description":"determine if a graph is connected using its adjacency matrix","archived":false,"fork":false,"pushed_at":"2016-04-18T15:48:40.000Z","size":137,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T11:13:24.331Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrejewski.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-08T03:14:46.000Z","updated_at":"2019-03-28T16:37:25.000Z","dependencies_parsed_at":"2023-03-11T03:48:55.100Z","dependency_job_id":null,"html_url":"https://github.com/andrejewski/connectivity","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/andrejewski%2Fconnectivity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejewski%2Fconnectivity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejewski%2Fconnectivity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejewski%2Fconnectivity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrejewski","download_url":"https://codeload.github.com/andrejewski/connectivity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254328389,"owners_count":22052633,"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-06T21:14:32.746Z","updated_at":"2025-05-15T11:13:27.293Z","avatar_url":"https://github.com/andrejewski.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connectivity\nDetermine if a graph is connected using its adjacency matrix.\n\n```js\nvar connectivity; // pending name change for NPM\nvar assert = require('assert');\n\nvar matrix = [\n// A  B  C  D  E  F  \n  [0, 0, 0, 1, 1, 0], // A\n  [0, 0, 0, 1, 0, 1], // B\n  [0, 0, 0, 0, 1, 0], // C\n  [1, 1, 0, 0, 0, 0], // D\n  [1, 0, 1, 0, 0, 0], // E\n  [0, 1, 0, 0, 0, 0], // F\n];\nassert.ok(connectivity(matrix));\n```\n\n## Contributing\n\nThe scope of this project is very limited and only pull requests correcting subtle bugs or improving performance with proper tests in either case will be accepted.\n\n```bash\n# running tests\nnpm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrejewski%2Fconnectivity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrejewski%2Fconnectivity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrejewski%2Fconnectivity/lists"}