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
Multi-Entity Cloud Accounting Software for Growing Businesses Icon
Multi-Entity Cloud Accounting Software for Growing Businesses

Built for small to midsize businesses that have outgrown entry-level accounting or legacy ERP solutions.

Built natively on the Microsoft Power Platform (Dynamics 365), Gravity delivers robust multi-entity financial management with seamless integration to Microsoft 365, Power BI, Teams + Copilot — no third-party add-ons required.
Learn More
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