{"id":22683306,"url":"https://github.com/mtchavez/binary-search-erl","last_synced_at":"2025-03-29T14:40:21.152Z","repository":{"id":7814270,"uuid":"9185049","full_name":"mtchavez/binary-search-erl","owner":"mtchavez","description":"Binary Search in Erlang","archived":false,"fork":false,"pushed_at":"2013-04-03T18:06:38.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T15:32:53.255Z","etag":null,"topics":["binary-search","erlang"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","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/mtchavez.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":"2013-04-03T02:26:34.000Z","updated_at":"2017-03-25T22:42:38.000Z","dependencies_parsed_at":"2022-08-31T15:22:34.724Z","dependency_job_id":null,"html_url":"https://github.com/mtchavez/binary-search-erl","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/mtchavez%2Fbinary-search-erl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fbinary-search-erl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fbinary-search-erl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fbinary-search-erl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtchavez","download_url":"https://codeload.github.com/mtchavez/binary-search-erl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200300,"owners_count":20739563,"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":["binary-search","erlang"],"created_at":"2024-12-09T21:11:35.803Z","updated_at":"2025-03-29T14:40:21.131Z","avatar_url":"https://github.com/mtchavez.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"binary-search-erl\n=================\n\n[![Build Status](https://travis-ci.org/mtchavez/binary-search-erl.png?branch=master)](https://travis-ci.org/mtchavez/binary-search-erl)\n\nBinary Search in Erlang\n\n## Usage\n\nTakes a list of integers to run a binary search on.\n\n### Searching\n\nWith a list you can search for a specific value\n\n```erlang\nc(binarysearch).\nList = [5,1,4,6,-1,40,203,8,343,1,-1212, 55].\nbinarysearch:search(List, 343).\n% returns {{value, 343}, {position, 12}}\n```\n\nWhen there are no results this is what will be returned\n\n```erlang\nc(binarysearch).\nList = [5,1,4,6,-1,40,203,8,343,1,-1212, 55].\nbinarysearch:search(List, 999).\n% returns {notfound, 999}\n```\n\n### Running Tests\n\nTests can be run with ```rebar eunit```.\n\nCoverage will be output at ```.eunit/index.html```\n\n## License\n\nWritten by Chavez\n\nReleased under the MIT License: http://www.opensource.org/licenses/mit-license.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fbinary-search-erl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtchavez%2Fbinary-search-erl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fbinary-search-erl/lists"}