npm.io
1.0.2 • Published 3 years ago

@esfx/collections-linkedlist

Licence
Apache-2.0
Version
1.0.2
Deps
2
Size
142 kB
Vulns
0
Weekly
0
Stars
233

@esfx/collections-linkedlist

The @esfx/collections-linkedlist package provides a linked-list implementation that utilizes @esfx/collection-core and @esfx/equatable.

Overview

Installation

npm i @esfx/collections-linkedlist

Usage

import { LinkedList } from "equatable/collections-linkedlist";

const list = new LinkedList();
const n1 = list.push("first");
const n2 = list.push("second");
n2.value = "second updated";
[...list]; // first,second updated

API

You can read more about the API here.