{"id":25178085,"url":"https://github.com/sgb-io/functional-algos","last_synced_at":"2026-03-06T22:05:43.706Z","repository":{"id":171697978,"uuid":"471949204","full_name":"sgb-io/functional-algos","owner":"sgb-io","description":"A utility library containing algorithm implementations, using functional TypeScript.","archived":false,"fork":false,"pushed_at":"2024-12-03T10:50:28.000Z","size":118,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T11:03:30.047Z","etag":null,"topics":["algorithms","data-structures","functional-programming","javascript","javascript-algorithms","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/functional-algos","language":"TypeScript","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/sgb-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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-03-20T10:43:48.000Z","updated_at":"2024-12-03T10:50:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"bec2c862-02c0-4964-9206-2c94f1886c98","html_url":"https://github.com/sgb-io/functional-algos","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":"0.16666666666666663","last_synced_commit":"89eb18017844d05868608a97e40129d3aae63d41"},"previous_names":["sgb-io/algo-implementations"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sgb-io/functional-algos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgb-io%2Ffunctional-algos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgb-io%2Ffunctional-algos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgb-io%2Ffunctional-algos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgb-io%2Ffunctional-algos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgb-io","download_url":"https://codeload.github.com/sgb-io/functional-algos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgb-io%2Ffunctional-algos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30200756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["algorithms","data-structures","functional-programming","javascript","javascript-algorithms","typescript"],"created_at":"2025-02-09T14:52:26.929Z","updated_at":"2026-03-06T22:05:43.661Z","avatar_url":"https://github.com/sgb-io.png","language":"TypeScript","readme":"# Functional Algos\n\n`functional-algos` is a TypeScript library containing popular algorithm implementations.\n\n## Installation\n\nInstall `functional-algos`:\n\n```bash\nyarn add functional-algos # or whatever package manager you use\n```\n\n## Algorithms\n\nLibrary functions exposed by `functional-algos`\n\n- Sorting\n  - [Selection Sort](src/sorting/selection-sort)\n  - [Heap Sort](src/sorting/heap-sort)\n  - [Merge Sort](src/sorting/merge-sort)\n  - [Quicksort](src/sorting/quicksort)\n  - [Quicksort (Recursive)](src/sorting/quicksort-recursive)\n  - [Insertion Sort](src/sorting/insertion-sort)\n  - [Bucket Sort](src/sorting/bucket-sort)\n- Searching\n  - [Binary Search](src/searching/binary-search)\n  - [Breadth-first Search](src/searching/bfs)\n  - [Depth-first Search](src/searching/dfs)\n  - [Dijkstra](src/searching/dijkstra)\n- Dynamic Programming\n  - [Fibonacci](src/dynamic/fib)\n  - [Trapping Water](src/dynamic/trapping-water/)\n- Traversal\n  - [Linked Lists](src/traversal/linked-list/)\n- Optimization\n  - [Memoize](src/optimization/memoize/)\n\n## Problems\n\nExamples of specific problems solved using `functional-algos`, but not exposed by the library\n\n- [Staircase Problem](src/problems/staircase/)\n\n## Contributing\n\nContributions are welcomed! Please note the goal of the library is to expose working, complete, re-usable implementations.\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgb-io%2Ffunctional-algos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgb-io%2Ffunctional-algos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgb-io%2Ffunctional-algos/lists"}