Creates a linked list module for use in javascript node environments

Usage no npm install needed!

<script type="module">
  import nohatJsLinkedList from 'https://cdn.skypack.dev/@nohat/js-linked-list';


JS Linked List

build passing

Node library for creating and manipulating linked list data structures.


Available on NPM

npm install @nohat/js-linked-list


Import package

const LinkedList = require('@nohat/js-linked-list');

or common js

import LinkedList from '@nohat/js-linked-list';

Use class methods to manipulate lists

const List = new LinkedList();

List.insert('My First Node');

const index0 = List.get({ index: 0 });