# mauriciosantos/Buckets-JS

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

Repository: https://github.com/mauriciosantos/Buckets-JS
Canonical: https://ross.abutalabs.com/products/buckets-js
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, data-structures, collections, collection, linked-list, dictionary, map, multimap, stack, queue, set, bag, binary-heap, priority-queue, binary-search, binary-search-tree, tree, tree-structure
Last push: 2020-12-21T23:37:28+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5361, "days_push": 2081, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1254, forks 112 (observed 2026-08-28T04:04:08.801851+00:00)

## What it is
Buckets is a complete, fully tested and documented data structure library written in pure JavaScript. It provides classic data structures such as linked lists, dictionaries, sets, stacks, queues, heaps, priority queues, and binary search trees, plus array utility functions.

## Use cases
- use a dictionary or map with custom equality functions in JavaScript
- implement a priority queue for scheduling tasks in Node.js
- use a linked list or stack data structure in the browser
- perform set operations like union and intersection in JavaScript
- use a binary search tree for sorted collections in JavaScript
- manipulate and search arrays with utility functions

## When to choose
- you need classic data structures (heap, BST, multimap, bag) not provided natively in JavaScript
- you need a dependency-free, pure JavaScript library that works in any browser including old ones and Node.js
- you want a small, well-documented and fully tested collection library

## When to avoid
- you need a library with recent maintenance or modern ES module/TypeScript support
- you only need structures already available natively (Map, Set, Array) and want zero dependencies
- you need high-performance or immutable/persistent data structures

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: developer-tools, web-development
- platform: browser, cross-platform
- tags: data-structures, collections, javascript, linked-list, dictionary, priority-queue, binary-search-tree, stack, queue, set, algorithms, nodejs

## Member repositories
- mauriciosantos/Buckets-JS (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:08.801851+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:24.972548+00:00, confidence not recorded.
  - readme: https://github.com/mauriciosantos/Buckets-JS (fetched 2026-08-28T04:04:08.801851+00:00, sha b2b230fa5ee9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
