0.1.0 • Published 8 years ago

hadron-linked-list v0.1.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
8 years ago

hadron-linked-list

Hadron Linked List is a set of linked list implementations in Javascript.

Installation

npm install --save hadron-linked-list

Usage

'use strict';

const DoublyLinkedList = require('hadron-linked-list').DoublyLinkedList;

var list = new DoublyLinkedList();
list.insertEnd('first');
list.insertEnd('second');
list.insertEnd('third');

for (let value of list) {
  console.log(value);
}

License

Apache 2.0