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-js
Or 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 install
This will setup the library dependencies for you.
To run tests, run
$ npm run test
To lint your code, run
$ npm run lint
To generate test coverage, run
$ npm run report
To build docs, run
$ npm run docs
To build for browser, run
$ npm run build-dev
Say hi on twitter
MIT © Manraj Singh