{"id":15323809,"url":"https://github.com/StudyResearchProjects/selection-sort-js","last_synced_at":"2025-10-09T10:31:40.239Z","repository":{"id":46180865,"uuid":"234206233","full_name":"StudyResearchProjects/selection-sort-js","owner":"StudyResearchProjects","description":"A \"Selection Sort\" algorithm implementation in JavaScript","archived":true,"fork":false,"pushed_at":"2021-11-09T04:12:37.000Z","size":1155,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T04:51:25.028Z","etag":null,"topics":["algorithm","javascript","selection-sort"],"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/StudyResearchProjects.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}},"created_at":"2020-01-16T01:14:29.000Z","updated_at":"2025-08-04T20:53:30.000Z","dependencies_parsed_at":"2022-09-08T10:13:55.843Z","dependency_job_id":null,"html_url":"https://github.com/StudyResearchProjects/selection-sort-js","commit_stats":null,"previous_names":["leoborai/selection-sort-js","estebanborai/selection-sort-js","studyresearchprojects/selection-sort-js"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/StudyResearchProjects/selection-sort-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fselection-sort-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fselection-sort-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fselection-sort-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fselection-sort-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StudyResearchProjects","download_url":"https://codeload.github.com/StudyResearchProjects/selection-sort-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fselection-sort-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001275,"owners_count":26083040,"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-10-09T02:00:07.460Z","response_time":59,"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"}},"keywords":["algorithm","javascript","selection-sort"],"created_at":"2024-10-01T09:22:17.798Z","updated_at":"2025-10-09T10:31:39.905Z","avatar_url":"https://github.com/StudyResearchProjects.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# selection-sort-js\nA \"Selection Sort\" algorithm implementation in JavaScript\n\n## Installation\n```bash\nnpm install @estebanborai/selection-sort\n```\n\n## Usage\n\n### `selectionSort(arr: Array\u003cnumber\u003e): Array\u003cnumber\u003e`\nSorts an array of numbers\n\n```javascript\nimport selectionSort from '@estebanborai/selection-sort';\n\nconst items = [-1, 10, 2, 0, 6, 8];\nconst sorted = selectionSort(items);\n\nconsole.log(sorted); // [-1, 0, 2, 6, 8, 10]\n```\n\n### `findSmallest(arr: Array\u003cnumber\u003e): number`\nReturns the index of the smallest number in the array.\n_This function is used internally by `selectionSort` and exported._\n\n```javascript\nimport { findSmallest } from '@estebanborai/selection-sort';\n\nconst items = [1, 25, 88, -10, 11];\nconst smallestItemIndex = findSamallest(items);\n\nconsole.log(smallestItemIndex); // 3\n```\n\n## License\nLicensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStudyResearchProjects%2Fselection-sort-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStudyResearchProjects%2Fselection-sort-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStudyResearchProjects%2Fselection-sort-js/lists"}