Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
J

javascript-algorithms

> DevOps
Open source

JavaScript implementations of computer science algorithms

7.8K stars0 likes1 views
WebsiteGitHub

About

JavaScript implementations of computer science algorithms

About

This repository contains JavaScript implementations of famous computer science algorithms.

API reference with usage examples available here.

Development

To install all dev dependencies

Call:

bash
npm install

To setup repository with documentation

bash
npm run doc

This will build the documentation and open it in your browser.

To update .html files with documentation

Just run npm run doc again.

To run tests

Call:

bash
npm run test

This will execute all *.spec.js files.

To deploy documentation site

bash
npm run deploy

This requires you to have commit access to your Git remote.

Contributions

Fork 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.

Make sure your editor makes validations according to the .jshintrc in the root directory of the repository.

Before pushing to the repository, run:

bash
npm run build

If the build is not successful, fix your code in order for the tests and jshint validation to run successfully. Then create a pull request.

Contributors

mgechev AndriiHeonia Jakehp lygstate mik-laj krzysztof-grzybek
pvoznenko jettcalleja filipefalcaos kdamball lekkas infusion
deniskyashif brunohadlich designeng Microfed Nirajkashyap pkerpedjiev
duffman85 Xuefeng-Zhu emyarod alexjoverm amilajack BorislavBorisov22
brunob15 BryanChan777 ysharplanguage jurassix fisenkodv contra
liesislukas marrcelo wnvko millerrach xiedezhuo DengYiping
fanixk wlx199x shaunak1111

License

The code in this repository is distributed under the terms of the MIT license.

Issues· 21 open

View all issuesOpen on GitHub
  • #209

    Implement Binary Search using ES6

    Updated Oct 10, 2025
  • #219

    Changes required.

    Updated Dec 25, 2024
  • #43

    Move the partitioning algorithms in separate files

    enhancementUpdated Oct 15, 2024
  • #213

    Update knuth-morris-pratt using ES6

    Updated Oct 10, 2024
  • #198

    Bitwise Algorithms

    Updated Aug 3, 2024
  • #20

    Implement Ukkonen's algorithm for building suffix trees

    enhancementUpdated Oct 21, 2023
  • #19

    Implement delete method in the red-black tree

    enhancementUpdated Sep 26, 2023
  • #194

    Introduce ES6 syntax

    Updated Jul 4, 2022

> Tags

JavaScriptalgorithmcomputer-science-algorithmshacktoberfestjavascript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理