# swannodette/mori

ClojureScript's persistent data structures and supporting API from the comfort of vanilla JavaScript

Repository: https://github.com/swannodette/mori
Canonical: https://ross.abutalabs.com/products/mori
Homepage: http://swannodette.github.io/mori
Language: Clojure
License Family: other
Last push: 2026-03-06T23:41:00+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 70, release rhythm 35, longevity 100
- inputs: {"age_days": 5228, "days_push": 180, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3369, forks 142 (observed 2026-08-28T04:07:58.354108+00:00)

## What it is
Mori is a bridge library exposing ClojureScript's persistent data structures (vectors, maps, sets, lists) and supporting functional API to vanilla JavaScript. It provides efficient immutable collections with value-based equality and uniform iteration for JavaScript and Node.js programs.

## Use cases
- use immutable data structures in JavaScript without cloning
- get Clojure-style persistent vectors and maps in Node.js
- value-based equality for JavaScript collections
- functional programming with map, reduce, filter in vanilla JS
- benchmark immutable data structure libraries against Immutable.js
- avoid defensive copying when sharing state between modules

## When to avoid
- you prefer a method-based immutable API like Immutable.js
- you need a tiny bundle and cannot afford ~6K extra gzipped
- your project is TypeScript-first with strict typing needs
- you need actively developed features rather than a stable library

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization
- domain: developer-tools, web-development, programming-languages
- platform: browser
- tags: immutable-data-structures, persistent-data-structures, clojurescript, functional-programming, nodejs, javascript

## Member repositories
- swannodette/mori (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:58.354108+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-29T18:39:58.231682+00:00, confidence not recorded.
  - readme: https://github.com/swannodette/mori (fetched 2026-08-28T04:07:58.354108+00:00, sha f620de90c1fa)
  - homepage: http://swannodette.github.io/mori (fetched 2026-08-29T09:33:34.008452+00:00, sha 3ede2cc44352)
- Data as of 2026-08-30T08:39:29.467469+00:00.
