{"id":13432600,"url":"https://github.com/mgechev/javascript-algorithms","last_synced_at":"2025-05-14T01:06:19.905Z","repository":{"id":5546161,"uuid":"6750158","full_name":"mgechev/javascript-algorithms","owner":"mgechev","description":"💻 JavaScript implementations of computer science algorithms","archived":false,"fork":false,"pushed_at":"2024-04-22T23:31:08.000Z","size":4308,"stargazers_count":7851,"open_issues_count":22,"forks_count":1271,"subscribers_count":255,"default_branch":"master","last_synced_at":"2025-04-03T01:38:32.390Z","etag":null,"topics":["algorithm","computer-science-algorithms","hacktoberfest","javascript"],"latest_commit_sha":null,"homepage":"https://mgechev.github.io/javascript-algorithms/","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/mgechev.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2012-11-18T19:11:57.000Z","updated_at":"2025-03-31T13:22:55.000Z","dependencies_parsed_at":"2023-10-16T12:47:27.365Z","dependency_job_id":"f7b85330-304e-4c07-95e8-4b806477ef1f","html_url":"https://github.com/mgechev/javascript-algorithms","commit_stats":{"total_commits":612,"total_committers":51,"mean_commits":12.0,"dds":"0.35620915032679734","last_synced_commit":"cf8aa67f67d5fbf5e246245ac42277a88c1e512b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fjavascript-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fjavascript-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fjavascript-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fjavascript-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgechev","download_url":"https://codeload.github.com/mgechev/javascript-algorithms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154489,"owners_count":21056539,"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":["algorithm","computer-science-algorithms","hacktoberfest","javascript"],"created_at":"2024-07-31T02:01:13.985Z","updated_at":"2025-04-10T03:39:46.418Z","avatar_url":"https://github.com/mgechev.png","language":"JavaScript","readme":"## About\n\nThis repository contains JavaScript implementations of famous computer science algorithms.\n\nAPI reference with usage examples available\n\u003ca href=\"https://mgechev.github.io/javascript-algorithms/\" target=\"_blank\"\u003ehere\u003c/a\u003e.\n\n## Development\n\n**To install all dev dependencies**\n\nCall:\n\n```bash\nnpm install\n```\n\n**To setup repository with documentation**\n\n```bash\nnpm run doc\n```\n\nThis will build the documentation and open it in your browser.\n\n**To update .html files with documentation**\n\nJust run `npm run doc` again.\n\n**To run tests**\n\nCall:\n\n```bash\nnpm run test\n```\n\nThis will execute all `*.spec.js` files.\n\n**To deploy documentation site**\n\n```bash\nnpm run deploy\n```\n\nThis requires you to have commit access to your Git remote.\n\n## Contributions\n\nFork the repo and make required changes. Afterwards, push your changes in branch. The name will be according to the changes you did. Initiate the pull request.\n\nMake sure your editor makes validations according to the `.jshintrc` in the root directory of the repository.\n\nBefore pushing to the repository, run:\n\n```bash\nnpm run build\n```\n\nIf the build is not successful, fix your code in order for the tests and jshint validation to run successfully. Then create a pull request.\n\n## Contributors\n\n[\u003cimg alt=\"mgechev\" src=\"https://avatars1.githubusercontent.com/u/455023?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/mgechev) |[\u003cimg alt=\"AndriiHeonia\" src=\"https://avatars1.githubusercontent.com/u/773648?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/AndriiHeonia) |[\u003cimg alt=\"Jakehp\" src=\"https://avatars1.githubusercontent.com/u/1854569?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/Jakehp) |[\u003cimg alt=\"lygstate\" src=\"https://avatars3.githubusercontent.com/u/121040?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/lygstate) |[\u003cimg alt=\"mik-laj\" src=\"https://avatars1.githubusercontent.com/u/12058428?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/mik-laj) |[\u003cimg alt=\"krzysztof-grzybek\" src=\"https://avatars0.githubusercontent.com/u/6236664?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/krzysztof-grzybek) |\n:---: |:---: |:---: |:---: |:---: |:---: |\n[mgechev](https://github.com/mgechev) |[AndriiHeonia](https://github.com/AndriiHeonia) |[Jakehp](https://github.com/Jakehp) |[lygstate](https://github.com/lygstate) |[mik-laj](https://github.com/mik-laj) |[krzysztof-grzybek](https://github.com/krzysztof-grzybek) |\n\n[\u003cimg alt=\"pvoznenko\" src=\"https://avatars3.githubusercontent.com/u/1098414?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/pvoznenko) |[\u003cimg alt=\"jettcalleja\" src=\"https://avatars0.githubusercontent.com/u/6356258?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/jettcalleja) |[\u003cimg alt=\"filipefalcaos\" src=\"https://avatars2.githubusercontent.com/u/9125631?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/filipefalcaos) |[\u003cimg alt=\"kdamball\" src=\"https://avatars3.githubusercontent.com/u/3318312?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/kdamball) |[\u003cimg alt=\"lekkas\" src=\"https://avatars3.githubusercontent.com/u/5211478?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/lekkas) |[\u003cimg alt=\"infusion\" src=\"https://avatars3.githubusercontent.com/u/197742?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/infusion) |\n:---: |:---: |:---: |:---: |:---: |:---: |\n[pvoznenko](https://github.com/pvoznenko) |[jettcalleja](https://github.com/jettcalleja) |[filipefalcaos](https://github.com/filipefalcaos) |[kdamball](https://github.com/kdamball) |[lekkas](https://github.com/lekkas) |[infusion](https://github.com/infusion) |\n\n[\u003cimg alt=\"deniskyashif\" src=\"https://avatars2.githubusercontent.com/u/5999271?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/deniskyashif) |[\u003cimg alt=\"brunohadlich\" src=\"https://avatars2.githubusercontent.com/u/7043013?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/brunohadlich) |[\u003cimg alt=\"designeng\" src=\"https://avatars0.githubusercontent.com/u/2807469?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/designeng) |[\u003cimg alt=\"Microfed\" src=\"https://avatars1.githubusercontent.com/u/613179?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/Microfed) |[\u003cimg alt=\"Nirajkashyap\" src=\"https://avatars3.githubusercontent.com/u/4338110?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/Nirajkashyap) |[\u003cimg alt=\"pkerpedjiev\" src=\"https://avatars3.githubusercontent.com/u/2143629?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/pkerpedjiev) |\n:---: |:---: |:---: |:---: |:---: |:---: |\n[deniskyashif](https://github.com/deniskyashif) |[brunohadlich](https://github.com/brunohadlich) |[designeng](https://github.com/designeng) |[Microfed](https://github.com/Microfed) |[Nirajkashyap](https://github.com/Nirajkashyap) |[pkerpedjiev](https://github.com/pkerpedjiev) |\n\n[\u003cimg alt=\"duffman85\" src=\"https://avatars0.githubusercontent.com/u/15054422?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/duffman85) |[\u003cimg alt=\"Xuefeng-Zhu\" src=\"https://avatars0.githubusercontent.com/u/5875315?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/Xuefeng-Zhu) |[\u003cimg alt=\"emyarod\" src=\"https://avatars3.githubusercontent.com/u/8265238?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/emyarod) |[\u003cimg alt=\"alexjoverm\" src=\"https://avatars3.githubusercontent.com/u/5701162?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/alexjoverm) |[\u003cimg alt=\"amilajack\" src=\"https://avatars1.githubusercontent.com/u/6374832?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/amilajack) |[\u003cimg alt=\"BorislavBorisov22\" src=\"https://avatars2.githubusercontent.com/u/20156662?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/BorislavBorisov22) |\n:---: |:---: |:---: |:---: |:---: |:---: |\n[duffman85](https://github.com/duffman85) |[Xuefeng-Zhu](https://github.com/Xuefeng-Zhu) |[emyarod](https://github.com/emyarod) |[alexjoverm](https://github.com/alexjoverm) |[amilajack](https://github.com/amilajack) |[BorislavBorisov22](https://github.com/BorislavBorisov22) |\n\n[\u003cimg alt=\"brunob15\" src=\"https://avatars2.githubusercontent.com/u/5839627?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/brunob15) |[\u003cimg alt=\"BryanChan777\" src=\"https://avatars0.githubusercontent.com/u/43082778?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/BryanChan777) |[\u003cimg alt=\"ysharplanguage\" src=\"https://avatars0.githubusercontent.com/u/1055314?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/ysharplanguage) |[\u003cimg alt=\"jurassix\" src=\"https://avatars3.githubusercontent.com/u/1869117?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/jurassix) |[\u003cimg alt=\"fisenkodv\" src=\"https://avatars0.githubusercontent.com/u/1039447?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/fisenkodv) |[\u003cimg alt=\"contra\" src=\"https://avatars0.githubusercontent.com/u/425716?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/contra) |\n:---: |:---: |:---: |:---: |:---: |:---: |\n[brunob15](https://github.com/brunob15) |[BryanChan777](https://github.com/BryanChan777) |[ysharplanguage](https://github.com/ysharplanguage) |[jurassix](https://github.com/jurassix) |[fisenkodv](https://github.com/fisenkodv) |[contra](https://github.com/contra) |\n\n[\u003cimg alt=\"liesislukas\" src=\"https://avatars3.githubusercontent.com/u/2733862?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/liesislukas) |[\u003cimg alt=\"marrcelo\" src=\"https://avatars3.githubusercontent.com/u/18054556?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/marrcelo) |[\u003cimg alt=\"wnvko\" src=\"https://avatars3.githubusercontent.com/u/5990334?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/wnvko) |[\u003cimg alt=\"millerrach\" src=\"https://avatars2.githubusercontent.com/u/12432794?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/millerrach) |[\u003cimg alt=\"xiedezhuo\" src=\"https://avatars3.githubusercontent.com/u/39017209?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/xiedezhuo) |[\u003cimg alt=\"DengYiping\" src=\"https://avatars0.githubusercontent.com/u/12176046?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/DengYiping) |\n:---: |:---: |:---: |:---: |:---: |:---: |\n[liesislukas](https://github.com/liesislukas) |[marrcelo](https://github.com/marrcelo) |[wnvko](https://github.com/wnvko) |[millerrach](https://github.com/millerrach) |[xiedezhuo](https://github.com/xiedezhuo) |[DengYiping](https://github.com/DengYiping) |\n\n[\u003cimg alt=\"fanixk\" src=\"https://avatars2.githubusercontent.com/u/921156?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/fanixk) |[\u003cimg alt=\"wlx199x\" src=\"https://avatars1.githubusercontent.com/u/6756730?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/wlx199x) |[\u003cimg alt=\"shaunak1111\" src=\"https://avatars3.githubusercontent.com/u/1323960?v=4\u0026s=117\" width=\"117\"\u003e](https://github.com/shaunak1111) |\n:---: |:---: |:---: |\n[fanixk](https://github.com/fanixk) |[wlx199x](https://github.com/wlx199x) |[shaunak1111](https://github.com/shaunak1111) |\n\n## License\n\nThe code in this repository is distributed under the terms of the MIT license.\n\n","funding_links":[],"categories":["JavaScript","Web 前端","Data structures and Algorithms","other-awesome-lists","Algorithms","优质的 Github 库","algorithm","Github Libraries"],"sub_categories":["React Components"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Fjavascript-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgechev%2Fjavascript-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Fjavascript-algorithms/lists"}