dsjs

Data Structures in Javascript

npm install dsjs
2 downloads in the last week
8 downloads in the last month

dsjs.js

This project is for educational purposes, more than production like material.

I created this library to learn more about the Javascript world, and try to learn more about the language itself. I used the following tools, libraries and frameworks:

Nodejs, YUIDocs, Mocha and jscoverage

Node

var n = new dsjs.Node();
n.value = 10;

LinkedList

var l = new dsjs.LinkedList();
var n = new dsjs.Node();
l.addFirst(n);

Queue

var q = new dsjs.Queue();
var n = new dsjs.Node();
q.enqueue(n);

Stack

var s = new dsjs.Stack();
var n = new dsjs.Node();
s.push(n);
npm loves you