1.0.4 • Published 3 years ago

@nohat/js-linked-list v1.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

JS Linked List

build passing

Node library for creating and manipulating linked list data structures.

Installation

Available on NPM

npm install @nohat/js-linked-list

Usage

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 });