{"id":111528,"name":null,"description":"Like indexOf but looks at surrounding items","url":"https://github.com/andreasmadsen/indexof-surrounding","last_synced_at":"2025-09-09T06:07:28.509Z","repository":{"id":57273458,"uuid":"10437590","full_name":"AndreasMadsen/indexof-surrounding","owner":"AndreasMadsen","description":"Like indexOf but looks at surrounding items","archived":false,"fork":false,"pushed_at":"2024-02-27T12:15:22.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T10:42:31.370Z","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/AndreasMadsen.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":"2013-06-02T15:05:03.000Z","updated_at":"2022-08-07T18:02:37.000Z","dependencies_parsed_at":"2024-06-21T17:52:12.237Z","dependency_job_id":"2a1261d8-2b48-49b6-ad03-1998c6e3ef06","html_url":"https://github.com/AndreasMadsen/indexof-surrounding","commit_stats":null,"previous_names":["andreasmadsen/near"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndreasMadsen/indexof-surrounding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreasMadsen","download_url":"https://codeload.github.com/AndreasMadsen/indexof-surrounding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274250692,"owners_count":25249435,"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-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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"}},"owner":{"login":"AndreasMadsen","name":"Andreas Madsen","uuid":"505333","kind":"user","description":"Researching interpretability for Machine Learning because society needs it.","email":"","website":"https://andreasmadsen.github.io/","location":"Copenhagen, Denmark","twitter":"andreas_madsen","company":"MILA","icon_url":"https://avatars.githubusercontent.com/u/505333?u=57c7587cc1027243618c1b9a910aecc3a3dd8c0b\u0026v=4","repositories_count":151,"last_synced_at":"2024-04-14T19:00:53.119Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/AndreasMadsen","funding_links":[],"total_stars":1643,"followers":640,"following":45,"created_at":"2022-11-02T16:31:06.750Z","updated_at":"2024-04-14T19:01:13.780Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreasMadsen","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreasMadsen/repositories"},"packages":[{"id":1866009,"name":"indexof-surrounding","ecosystem":"npm","description":"Like indexOf but looks at surrounding items","homepage":"https://github.com/AndreasMadsen/indexof-surrounding#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/AndreasMadsen/indexof-surrounding","keywords_array":["surrounding","search","indexOf"],"namespace":null,"versions_count":1,"first_release_published_at":"2021-07-17T11:49:40.202Z","latest_release_published_at":"2021-07-17T11:49:40.202Z","latest_release_number":"0.2.2","last_synced_at":"2025-08-17T10:35:07.858Z","created_at":"2022-04-09T17:37:22.644Z","updated_at":"2025-08-17T10:42:32.272Z","registry_url":"https://www.npmjs.com/package/indexof-surrounding","install_command":"npm install indexof-surrounding","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.2.2"}},"repo_metadata":{"id":57273458,"uuid":"10437590","full_name":"AndreasMadsen/indexof-surrounding","owner":"AndreasMadsen","description":"Like indexOf but looks at surrounding items","archived":false,"fork":false,"pushed_at":"2024-02-27T12:15:22.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T08:39:27.050Z","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/AndreasMadsen.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":"2013-06-02T15:05:03.000Z","updated_at":"2022-08-07T18:02:37.000Z","dependencies_parsed_at":"2024-06-21T17:52:12.237Z","dependency_job_id":"2a1261d8-2b48-49b6-ad03-1998c6e3ef06","html_url":"https://github.com/AndreasMadsen/indexof-surrounding","commit_stats":null,"previous_names":["andreasmadsen/near"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndreasMadsen/indexof-surrounding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreasMadsen","download_url":"https://codeload.github.com/AndreasMadsen/indexof-surrounding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270837422,"owners_count":24654381,"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-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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"},"owner_record":{"login":"AndreasMadsen","name":"Andreas Madsen","uuid":"505333","kind":"user","description":"Researching interpretability for Machine Learning because society needs it.","email":"","website":"https://andreasmadsen.github.io/","location":"Copenhagen, Denmark","twitter":"andreas_madsen","company":"MILA","icon_url":"https://avatars.githubusercontent.com/u/505333?u=57c7587cc1027243618c1b9a910aecc3a3dd8c0b\u0026v=4","repositories_count":151,"last_synced_at":"2024-04-14T19:00:53.119Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/AndreasMadsen","funding_links":[],"total_stars":1643,"followers":640,"following":45,"created_at":"2022-11-02T16:31:06.750Z","updated_at":"2024-04-14T19:01:13.780Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreasMadsen","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreasMadsen/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-08-17T10:42:32.272Z","dependent_packages_count":2,"downloads":438,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":9.61031461597005,"dependent_repos_count":10.302192564346997,"dependent_packages_count":8.836029363523041,"stargazers_count":14.49958588312876,"forks_count":15.38802090050726,"docker_downloads_count":null,"average":11.727228665495222},"purl":"pkg:npm/indexof-surrounding","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/indexof-surrounding","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/indexof-surrounding","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/indexof-surrounding/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T17:04:51.673Z","issues_count":0,"pull_requests_count":4,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":156060.75,"issues_closed_count":0,"pull_requests_closed_count":4,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/indexof-surrounding/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/indexof-surrounding/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/indexof-surrounding/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/indexof-surrounding/related_packages","maintainers":[{"uuid":"andreasmadsen","login":"andreasmadsen","name":null,"email":"amwebdk@gmail.com","url":null,"packages_count":95,"html_url":"https://www.npmjs.com/~andreasmadsen","role":null,"created_at":"2022-11-12T20:03:51.400Z","updated_at":"2022-11-12T20:03:51.400Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/andreasmadsen/packages"}],"registry":{"name":"npmjs.org","url":"https://registry.npmjs.org","ecosystem":"npm","default":true,"packages_count":5135067,"maintainers_count":1052623,"namespaces_count":314046,"keywords_count":731068,"github":"npm","metadata":{"funded_packages_count":156026},"icon_url":"https://github.com/npm.png","created_at":"2022-04-04T15:19:23.081Z","updated_at":"2025-09-09T05:57:39.025Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/namespaces"}}],"commits":{"id":3704030,"full_name":"andreasmadsen/indexof-surrounding","default_branch":"master","committers":null,"total_commits":null,"total_committers":null,"total_bot_commits":null,"total_bot_committers":null,"mean_commits":null,"dds":null,"past_year_committers":null,"past_year_total_commits":null,"past_year_total_committers":null,"past_year_total_bot_commits":null,"past_year_total_bot_committers":null,"past_year_mean_commits":null,"past_year_dds":null,"last_synced_at":null,"last_synced_commit":null,"created_at":"2024-10-26T21:20:56.670Z","updated_at":"2024-10-26T21:20:56.670Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasmadsen%2Findexof-surrounding/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-09T00:17:06.873Z","repositories_count":5507543,"commits_count":859190247,"contributors_count":31431724,"owners_count":914790,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"AndreasMadsen/indexof-surrounding","html_url":"https://github.com/AndreasMadsen/indexof-surrounding","last_synced_at":"2025-08-17T10:42:32.141Z","status":"error","issues_count":0,"pull_requests_count":4,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":156060.75,"issues_closed_count":0,"pull_requests_closed_count":4,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-20T00:41:07.200Z","updated_at":"2025-09-01T03:26:27.370Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasMadsen%2Findexof-surrounding/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{},"pull_request_author_associations_count":{"NONE":7},"issue_authors":{},"pull_request_authors":{"WanXcodinG":7},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-06T00:00:15.144Z","repositories_count":10122635,"issues_count":31723558,"pull_requests_count":98833360,"authors_count":10710965,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{},"last_year":{}},"keywords":[],"dependencies":[{"ecosystem":"npm","filepath":"package.json","sha":null,"kind":"manifest","created_at":"2022-08-27T04:11:10.996Z","updated_at":"2022-08-27T04:11:10.996Z","repository_link":"https://github.com/AndreasMadsen/indexof-surrounding/blob/master/package.json","dependencies":[{"id":2883753348,"package_name":"tap","ecosystem":"npm","requirements":"0.6.x","direct":true,"kind":"development","optional":false}]}],"score":null,"created_at":"2025-09-08T22:45:35.136Z","updated_at":"2025-10-07T08:32:24.820Z","avatar_url":"https://github.com/AndreasMadsen.png","language":"JavaScript","category":null,"sub_category":null,"monthly_downloads":438,"funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/111528","html_url":"https://science.ecosyste.ms/projects/111528"}