Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 2.59 KB

README.markdown

File metadata and controls

55 lines (40 loc) · 2.59 KB

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.

How to use?

Download

Include the script and start coding. For NodeJS: var buckets = require('buckets.js').

Example

var setA = new buckets.Set();
var setB = new buckets.Set();
setA.add(1);
setB.add(2);
setA.union(setB); // {1,2}

Read the documentation.

Support

Mauricio Santos, mauriciosantoss@gmail.com