{"id":17484700,"url":"https://github.com/ryanmcdermott/js-fp-algorithms","last_synced_at":"2025-08-08T17:43:12.474Z","repository":{"id":65977370,"uuid":"112035520","full_name":"ryanmcdermott/js-fp-algorithms","owner":"ryanmcdermott","description":"JavaScript algorithms, in a functional programming style","archived":false,"fork":false,"pushed_at":"2017-12-06T04:38:16.000Z","size":59,"stargazers_count":50,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-22T15:13:50.467Z","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/ryanmcdermott.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":"2017-11-25T21:25:42.000Z","updated_at":"2025-02-24T15:56:27.000Z","dependencies_parsed_at":"2023-02-19T18:31:20.679Z","dependency_job_id":null,"html_url":"https://github.com/ryanmcdermott/js-fp-algorithms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanmcdermott/js-fp-algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Fjs-fp-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Fjs-fp-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Fjs-fp-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Fjs-fp-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanmcdermott","download_url":"https://codeload.github.com/ryanmcdermott/js-fp-algorithms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Fjs-fp-algorithms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265573505,"owners_count":23790451,"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":[],"created_at":"2024-10-19T01:05:20.619Z","updated_at":"2025-07-17T06:33:12.370Z","avatar_url":"https://github.com/ryanmcdermott.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-fp-algorithms [![Build Status](https://api.travis-ci.org/ryanmcdermott/js-fp-algorithms.svg?branch=master)](https://travis-ci.org/ryanmcdermott/js-fp-algorithms)\nA collection of algorithms written in JavaScript in a functional programming\nstyle.\n\n## The Philosophy\nYou might think that a \"functional programming style\" means monads, cofunctors,\nand applicative dinguses. Actually, it just means no loops, no mutations, and\nno side effects,\n\n### No loops\nAnything expressed in `for` and `while` can also be expressed in recursion.\n\n### No mutations\nNo variables are mutated because there are no variables, only constants.\n\n### No side effects\nFunctions will always produce the same output given the same input. No sneaky\nglobal variables, calling the network, or running quicksort and then deleting\nall your songs on Spotify.\n\n## Installation\n`npm install`\n\n## Testing\n`npm t`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcdermott%2Fjs-fp-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanmcdermott%2Fjs-fp-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcdermott%2Fjs-fp-algorithms/lists"}