Giter VIP home page Giter VIP logo

javascript-algorithms's Introduction

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 install

To setup repository with documentation

  • Go to the parent directory of the javascript-algorithms folder and call:
git clone [email protected]:mgechev/javascript-algorithms.git javascript-algorithms-docs
  • Go to the javascript-algorithms-docs folder and change current branch to gh-pages:
git checkout gh-pages

Now 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 jsdoc 

and all files in javascript-algorithms-docs folder will be updated.

To run tests

Call:

gulp test

and 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 build

If 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 AndreyGeonya pvoznenko secrettriangle Microfed contra
mgechev AndreyGeonya pvoznenko secrettriangle Microfed contra

License

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

javascript-algorithms's People

Contributors

andriiheonia avatar mgechev avatar microfed avatar pvoznenko avatar yocontra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.