Consumable Data Structures and Algorithms library in JavaScript
I'm looking for maintainers for this project. Please email me if you are interested in maintaining the project.
Run
$ npm install algorithms-jsOr use unpkg:
<script src="https://unpkg.com/algorithms-js/dist/algorithms.min.js"></script>Or use jsdeliver:
<script src="https://cdn.jsdelivr.net/npm/algorithms-js/dist/algorithms.min.js"></script>Library contains both algorithms as well as data structures:
Currently, library supports following data structures:
Currently library supports following algorithms:
Various Searching algorithms:
- Binary Search
- Breadth First Search
- Depth First Search
- Exponential Search
- Interpolation Search
- Jump Search
- Linear Search
- Ternary Search
Various Sorting algorithms:
Various Math algorithms:
Various String algorithms:
Various Geometry algorithms:
Run:
$ git clone https://github.com/manrajgrover/algorithms-js.git
$ cd algorithms-js
$ npm installThis will setup the library dependencies for you.
To run tests, run
$ npm run testTo lint your code, run
$ npm run lintTo generate test coverage, run
$ npm run reportTo build docs, run
$ npm run docsTo build for browser, run
$ npm run build-devSay hi on twitter
MIT © Manraj Singh