by Bishop92

A library for data structure in JavaScript

433 Stars 62 Forks Last release: over 6 years ago (1.0) Apache License 2.0 62 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Data Structures

A library for data structures in JavaScript

DataStructures is a JavaScript library where you can find the most common data structures and also other data structures more advanced. Various method are also provided in order to manipulate data structures.

This library implements the iterator pattern in order to hide the data structure that work for storing your data.

Supported data structures

How to use

  1. Download the minimized library here (right click and save as...);

  2. Include the file in your project;

  3. Start to use it as any other class.


var listA = new DoubleLinkedList();
var listB = new DoubleLinkedList();
listA.fromArray([0, 1]);
listB.fromArray([2, 3]);
listA.toArray(); // [0, 1, 2, 3]


Follow this link to read the full documentation. Follow this link to read the JSDoc.


Battistella Stefano, [email protected]

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.