Skip to content

Latest commit

 

History

History
135 lines (94 loc) · 5.3 KB

README.md

File metadata and controls

135 lines (94 loc) · 5.3 KB

algorithms-js Build Status Build status npm npm awesome

Consumable Data Structures and Algorithms library in JavaScript

Note

I'm looking for maintainers for this project. Please email me if you are interested in maintaining the project.

Installation

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>

Usage

Library contains both algorithms as well as data structures:

Data Structures

Currently, library supports following data structures:

Algorithms

Currently library supports following algorithms:

Search

Various Searching algorithms:

Sort

Various Sorting algorithms:

Math

Various Math algorithms:

String

Various String algorithms:

Geometry

Various Geometry algorithms:

Development

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

Get in touch

Say hi on twitter

License

MIT © Manraj Singh