An open API service indexing awesome lists of open source software.

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.

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