# Yomguithereal/mnemonist

Curated collection of data structures for the JavaScript/TypeScript language.

Repository: https://github.com/Yomguithereal/mnemonist
Canonical: https://ross.abutalabs.com/products/mnemonist
Homepage: https://yomguithereal.github.io/mnemonist
Language: JavaScript
License: MIT
License Family: permissive
Topics: data-structure
Last push: 2026-04-30T09:45:20+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 80, release rhythm 81, longevity 100
- inputs: {"age_days": 3602, "days_push": 125, "days_rel": 125, "gap_med": 10.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2434, forks 105 (observed 2026-08-28T04:06:51.326053+00:00)

## What it is
Mnemonist is a curated collection of data structures for JavaScript and TypeScript, including classics like heaps, tries, and queues as well as exotic ones like Burkhard-Keller trees, Bloom filters, and suffix arrays. It is fully modular, performant, and typed for comfortable TypeScript use.

## Use cases
- use a heap or priority queue in JavaScript
- implement an LRU cache in Node.js
- build an inverted index for search
- fuzzy string matching with SymSpell
- use a trie or BK-tree in TypeScript
- need a bloom filter or bitset in JS

## When to choose
- you need data structures missing from JavaScript's standard library
- you want modular imports without pulling in a whole library
- you work in TypeScript and want typed data structures

## When to avoid
- you need a graph data structure (use graphology instead)
- you need extreme performance of a low-level language
- you only need structures already available in standard JS objects

## Facets
- artifact type: library
- maturity: stable
- function: data-science, search-engine, caching, developer-tools
- domain: developer-tools
- platform: browser, bun
- tags: data-structures, heap, trie, bloom-filter, lru-cache, suffix-array, kd-tree, modular, algorithms, search, natural-language-processing, nodejs, javascript, typescript, deno

## Member repositories
- Yomguithereal/mnemonist (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:51.326053+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-30T02:31:08.015064+00:00, confidence not recorded.
  - readme: https://github.com/Yomguithereal/mnemonist (fetched 2026-08-28T04:06:51.326053+00:00, sha 444cad7baf00)
  - homepage: https://yomguithereal.github.io/mnemonist (fetched 2026-08-29T10:12:45.721087+00:00, sha 46404177ef5f)
  - registry_npm: https://registry.npmjs.org/mnemonist (fetched 2026-08-29T10:12:45.729890+00:00, sha 5b1b4d8feb2a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
