Description
Buckets is a complete, fully tested and documented data structure library written in pure JavaScript.
buckets alternatives and similar libraries
Based on the "Data Structure" category.
Alternatively, view buckets alternatives based on common mentions on social networks and blogs.
-
immutable-js
Immutable persistent data collections for Javascript which increase efficiency and simplicity. -
immutability-helper
mutate a copy of data without changing the original source -
mori
ClojureScript's persistent data structures and supporting API from the comfort of vanilla JavaScript -
object-path
A tiny JavaScript utility to access deep properties using a path (for Node and the Browser) -
hashmap
HashMap JavaScript class for Node.js and the browser. The keys can be anything and won't be stringified -
react-websocket
Easy-to-use React component for websocket communications. -
schemapack
Create a schema object to encode/decode your JSON in to a compact byte buffer with no overhead. -
omniclone
An isomorphic and configurable javascript utility for objects deep cloning that supports circular references. -
property-path
Get and set object properties using a string path, where you can specify the separator character in the path. -
js-sdsl
A javascript standard data structure library which benchmark against C++ STL.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of buckets or a related project?
Popular Comparisons
README
Buckets
A JavaScript Data Structure Library
Buckets is a complete, fully tested and documented data structure library written in pure JavaScript.
Included data structures
- Linked List
- Dictionary
- Multi Dictionary
- Binary Search Tree
- Stack
- Queue
- Set
- Bag
- Binary Heap
- Priority Queue
Buckets also includes several functions for manipulating arrays.
Supported platforms
- Every desktop and mobile browser (including IE6)
- Node.js
If it supports JavaScript, it probably supports buckets.
Downloading Buckets
Download directly
- buckets.js (for development) or
- buckets.min.js (for production)
Then, add it as a script tag to your page:
<script src="buckets.js"></script>
<script>
var aSet = new buckets.Set();
</script>
Or install bucketsjs
using bower
bower install bucketsjs
Or use an AMD loader
require(["./bower/bucketsjs/buckets.js"], function(buckets) {
var hm = new buckets.Dictionary();
});
Or install buckets-js
using npm
npm install buckets-js
In Node.js: var buckets = require('buckets-js');
.
Usage
var a = new buckets.Set();
var b = new buckets.Set();
a.add(1);
a.add(2);
b.add(2);
a.union(b); // {1,2}
Read the documentation.
Building Buckets
There's nothing else you need to use buckets. However, this [guide](./BUILD.md) may help you if you wish to contribute to the project or modify it.