nvlbg / buckets

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:JavaScript 94.7%Language:CSS 4.4%Language:Shell 0.3%Language:Java 0.3%Language:Python 0.3%