Buckets-JS 0,1 travis-ci grunt Bower npm

A complete, fully tested and documented data structure library written in pure JavaScript.

Buckets

Build Status NPM Version

A JavaScript Data Structure Library

Buckets is a complete, fully tested and documented data structure library written in pure JavaScript.

Included data structures

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

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 may help you if you wish to contribute to the project or modify it.

Support

Mauricio Santos, [email protected]

Related Repositories

Buckets-JS

Buckets-JS

A complete, fully tested and documented data structure library written in pure JavaScript. ...

downsample-lttb

downsample-lttb

Largest Triangle Three Buckets downsample algorithm by Sveinn Steinarsson reshaped into a node.js module ...

register.js

register.js

Javascript library for a basic cash register widget tied to simple hashes of general ledger buckets. ...

priority-bucket-js

priority-bucket-js

A script that allows you to create priority buckets: arrays where you can define the order of traversal arbitrarily. ...


Top Contributors

mauriciosantos zbyte64

Dependencies

package version
dev grunt ^1.0.1
grunt-bump ^0.8.0
grunt-contrib-concat ^1.0.1
grunt-contrib-jasmine ^1.0.3
grunt-contrib-uglify ^0.11.0
grunt-gh-pages ^2.0.0
grunt-jsbeautifier ^0.2.13
grunt-shell ^1.1.2
grunt-umd ^2.4.0
jsdoc2 ^2.4.0
load-grunt-tasks ^3.5.2

Releases

-   v1.98.1 zip tar
-   v1.98.0 zip tar
-   v1.8 zip tar
-   v1.5 zip tar
-   v1.0 zip tar
-   1.90.0 zip tar
-   1.85.3 zip tar
-   1.81 zip tar