{"id":23488448,"url":"https://github.com/onesy-me/algorithms","last_synced_at":"2025-09-06T15:35:21.178Z","repository":{"id":65051983,"uuid":"580985019","full_name":"onesy-me/algorithms","owner":"onesy-me","description":"Algorithms for various use cases ","archived":false,"fork":false,"pushed_at":"2024-12-11T23:27:53.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-28T14:56:11.998Z","etag":null,"topics":["algorithm","algorithms","browser","javascript","nodejs","sorting-algorithms","typescript"],"latest_commit_sha":null,"homepage":"https://docs.onesy.me/library/algorithms","language":"TypeScript","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/onesy-me.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":"2022-12-22T00:53:07.000Z","updated_at":"2024-12-11T23:27:57.000Z","dependencies_parsed_at":"2024-11-06T06:37:49.786Z","dependency_job_id":"7df4e103-6691-423c-a25e-dc9ab12cabe9","html_url":"https://github.com/onesy-me/algorithms","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"f21a58f55bf3917fd4a3494a9a071001a9fe72b6"},"previous_names":["onesy-me/amaui-algorithms","amaui-org/amaui-algorithms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onesy-me/algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Falgorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Falgorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Falgorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Falgorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onesy-me","download_url":"https://codeload.github.com/onesy-me/algorithms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Falgorithms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273926017,"owners_count":25192313,"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-06T02:00:13.247Z","response_time":2576,"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","algorithms","browser","javascript","nodejs","sorting-algorithms","typescript"],"created_at":"2024-12-24T23:11:31.544Z","updated_at":"2025-09-06T15:35:21.149Z","avatar_url":"https://github.com/onesy-me.png","language":"TypeScript","readme":"\n\u003c/br\u003e\n\u003c/br\u003e\n\n\u003cp align='center'\u003e\n  \u003ca target='_blank' rel='noopener noreferrer' href='#'\u003e\n    \u003cimg src='utils/images/logo.svg' alt='onesy logo' /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align='center'\u003eonesy Algorithms\u003c/h1\u003e\n\n\u003cp align='center'\u003e\n  Algorithms\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n\u003ch3 align='center'\u003e\n  \u003csub\u003eMIT license\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eProduction ready\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eUMD 2.1kb gzipped\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003e100% test cov\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eBrowser and Nodejs\u003c/sub\u003e\n\u003c/h3\u003e\n\n\u003cp align='center'\u003e\n  \u003csub\u003eVery simple code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eModern code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eJunior friendly\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eTypescript\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eMade with :yellow_heart:\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n## Getting started\n\n### Add\n\n```sh\nyarn add @onesy/algorithms\n```\n\n### Algorithms\n- Factorial\n- Fibonacci\n- Binary search\n- Bubble sort\n- Selection sort\n- Insertion sort\n- Merge sort\n- Quick sort\n- Radix sort\n- Naive search\n- LPS\n- KMP\n- etc.\n\n### Use\n\n```javascript\n  import { bubbleSort } from '@onesy/algorithms';\n\n  const value = [1, 14, 7, 4];\n\n  bubbleSort(value);\n\n  // [1, 4, 7, 14]\n\n  // etc.\n```\n\n### Dev\n\nInstall\n\n```sh\nyarn\n```\n\nTest\n\n```sh\nyarn test\n```\n\n### Prod\n\nBuild\n\n```sh\nyarn build\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Falgorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonesy-me%2Falgorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Falgorithms/lists"}