Package Exports
- @codyholmes/data-structures
- @codyholmes/data-structures/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@codyholmes/data-structures) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Javascript Data Structures
A small library of data structures for javascript
Data Structures Available
- Binary Search Tree
- Linked List - Doubly
- Linked List - Singly
- Max Binary Heap
- Priority Queue
- Stack
- Queue
Installation
Using npm:
$ npm i @codyholmes/data-structures
Note: add --save if you are using npm < 5.0.0
In Node.js:
const { LinkedList } = require('@codyholmes/data-structures');
let myLinkedList = new LinkedList();
myLinkedList.insertFirst(5);