About
This repository contains JavaScript implementations of different famous Computer Science algorithms.
API reference with usage examples available here.
Note: not all algorithms are well tested so bugs are quite possible.
Development
To install all dev dependencies
Call:
npm installTo setup repository with documentation
- Go to the parent directory of the
javascript-algorithmsfolder and call:
git clone https://github.com/mgechev/javascript-algorithms.git javascript-algorithms-docs- Go to the
javascript-algorithms-docsfolder and change current branch togh-pages:
git checkout gh-pagesNow you can see index.html file in this folder and open it in your browser.
To update .html files with documentation
Go to the javascript-algorithms folder and call:
gulp jsdocand all files in javascript-algorithms-docs folder will be updated.
To run tests
Call:
gulp testand all *.spec.js files will be executed.
Contributions
Fork the repo and make requred changes. After that push your changes in branch, which is named according to the changes you did. Initiate the PR.
Make sure you're editor makes validations according to the .jshintrc in the root directory of the repository.
Before pushing to the repository run:
gulp buildIf the build is not successful fix your code in order the tests and jshint validation to run successfully and after that create a pull request.
Contributors
| mgechev | AndriiHeonia | Jakehp | pvoznenko | FilipeFalcaoBatista | secrettriangle |
| Microfed | contra | fanixk |
License
The code in this repository is distributed under the terms of the MIT license.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
