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
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It Free
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