Mori brings ClojureScript's efficient persistent data structures and functional APIs into vanilla JavaScript, enabling immutability and functional programming patterns with performant collections in JS. The installed package contains a single optimized JavaScript file mori.js. Load mori in your Node.js programs as you would any other module. For vectors and maps we provide efficient thaw and freeze operations. All Mori maps and sets support all the non-mutating methods of the proposed ES6 Map and Set interfaces. The main difference with the spec is that key lookup is based on value not reference. keys, values, and entries methods return the proposed mutable iterators.

Features

  • Immutable data structures in JavaScript without deep copying
  • Functional API mirroring ClojureScript collection operations
  • Support for ES6-style iteration protocols
  • Value-based equality for reliable comparisons
  • High-performance implementation, often faster than alternatives like Immutable.js
  • Lightweight and JS-friendly naming conventions for ease of use

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Mori

Mori Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mori!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Frameworks

Registered

2025-08-19