3.5.3 • Published 5 days ago
@ffflorian/doublelinkedlist v3.5.3
double-linked-list
A linked list in which every element knows about its predecessor and its successor.
______ ______ ______
| | | | | | | | | | | |
| | | <---> | | <---> | | |
|_|__|_| |_|__|_| |_|__|_|
prev n next
Prerequisites
Installation
ℹ️ This is a hybrid CommonJS / ESM module.
Run yarn add @ffflorian/doublelinkedlist
or npm i @ffflorian/doublelinkedlist
.
Usage
import {LinkedList} from '@ffflorian/doublelinkedlist';
const list = new LinkedList();
list.add('one');
list.add('two');
list.add('three');
list.get(0); // 'one'
The full API documentation is available at https://ffflorian.github.io/DoubleLinkedList.
Testing
First, install the needed packages for testing:
yarn
Now run the tests:
yarn test
3.5.3
5 days ago
3.5.2
4 months ago
3.4.9
4 months ago
3.5.1
4 months ago
3.5.0
4 months ago
3.4.10
4 months ago
3.4.8
4 months ago
3.4.7
4 months ago
3.4.0
6 months ago
3.4.4
5 months ago
3.4.3
5 months ago
3.4.2
6 months ago
3.4.1
6 months ago
3.4.6
5 months ago
3.4.5
5 months ago
3.3.1
1 year ago
3.0.4
1 year ago
3.3.0
1 year ago
3.2.1
1 year ago
3.0.3
1 year ago
3.2.0
1 year ago
3.1.0
1 year ago
3.0.2
1 year ago
3.0.1
1 year ago
3.0.0
4 years ago
2.1.0
4 years ago
2.0.2
5 years ago
2.0.1
6 years ago