Skip to content
This repository was archived by the owner on Feb 8, 2020. It is now read-only.

Latest commit

 

History

History
35 lines (24 loc) · 822 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 822 Bytes

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