https://github.com/randomgamingdev/doublelinkedlistlibjs
A simple double linked list that stores the head, tail and length of the list.
https://github.com/randomgamingdev/doublelinkedlistlibjs
data-structures easy easy-to-use javascript linked-list list simple small
Last synced: 5 months ago
JSON representation
A simple double linked list that stores the head, tail and length of the list.
- Host: GitHub
- URL: https://github.com/randomgamingdev/doublelinkedlistlibjs
- Owner: RandomGamingDev
- License: mit
- Created: 2023-01-28T15:34:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-17T19:16:03.000Z (7 months ago)
- Last Synced: 2025-05-17T20:24:53.990Z (7 months ago)
- Topics: data-structures, easy, easy-to-use, javascript, linked-list, list, simple, small
- Language: JavaScript
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DoubleLinkedListLibJs
A simple double linked list that stores the head, tail and length of the list.

This library was created, not only for education purposes, but to be a fast, effiecient and easy to use one way linked list library, which are perfect for things like ECS.
The Github is available here: https://github.com/RandomGamingDev/DoubleLinkedListLibJs
An example of the library's use can be seen here in the form of a snake game: https://github.com/RandomGamingDev/Snakep5js/tree/main
## How to import via NPM
```
npm i ez-double-linked-list
```
## How to import via CDN (Content Distribution Network)
To use it you can simply include https://cdn.jsdelivr.net/gh/RandomGamingDev/DoubleLinkedListLibJs/list.js in your HTML file! If you want to you can also just download the file and include it in your HTML file that way.
btw stuff updates so remember to specify a version/commit for your library if you want to use a link and don't want your code to automatically update to the newest version of the library