Hadron Linked List is a set of linked list implementations in Javascript.
npm install --save hadron-linked-list
'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);
}
Apache 2.0