algojs
v0.6.0
Published
It provides Javascript implementation of fundamental data types, algorithms, and data structures.
Downloads
2
Readme
algojs
It provides Javascript implementation of fundamental data types, algorithms, and data structures.
Examples
Here there are some examples. API docs are published here.
npm install algojs --save
Sorting
var sort = require('algojs-sorting').insertionSort;
var array = [7,2,4,3,1,5,6,8];
sort(array);
// array is now sorted
Others
var algojs = require('algojs');
var points = [];
var convexHull = algojs.grahamScan(points);