mgechev/javascript-algorithms

💻 JavaScript implementations of computer science algorithms

JavaScript

7,822

619 commits

updated Apr 22, 2024

See the code

README

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:

npm install

To setup repository with documentation

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:

npm run test

This will execute all *.spec.js files.

To deploy documentation site

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:

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

License

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

algorithm
computer-science-algorithms
hacktoberfest
javascript

mgechev/javascript-algorithms

💻 JavaScript implementations of computer science algorithms

JavaScript

7,822

619 commits

updated Apr 22, 2024

See the code

README

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:

npm install

To setup repository with documentation

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:

npm run test

This will execute all *.spec.js files.

To deploy documentation site

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:

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

License

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

algorithm
computer-science-algorithms
hacktoberfest
javascript

Project health

Overall

3.4/10

Maintained

0/10

Code review

6/10
OpenSSF Scorecard

Significant stargazers

(top 24 of 33)

Merve Agca

33 followers · starred Dec 2022

Nazar Mokrynskyi

828 followers · starred May 2018

Vse Mozhe Buty

167 followers · starred Mar 2020

Ewan Harris

49 followers · starred Mar 2020