Mori
ClojureScript's persistent data structures and supporting API
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.