Displaying 1 to 9 from 9 results

deep-freeze - recursively Object.freeze() on objects and functions

  •    Javascript

Call Object.freeze(obj) recursively on all unfrozen properties of obj that are functions or objects.Based in part on the code snippet from the MDN wiki page on Object.freeze(), which is released to the public domain.

immu - A TINY, fail-fast, lazy, immutable Javascript objects library.

  •    Javascript

A TINY, fail-fast, lazy, "naked", simple immutable Javascript objects library. Immu does not attempt to add functionality to Arrays, introduce complex data structures like Map and Set, or provide a complete solution with cursors and stores. Immu is meant to be the simplest possible solution to providing immutable objects while maintaining the native API for those objects (including Array methods).

icepick - Utilities for treating frozen JavaScript objects as persistent immutable collections

  •    Javascript

Utilities for treating frozen JavaScript objects as persistent immutable collections. Object.freeze() is a quick and easy way to get immutable collections in plain JavaScript. If you recursively freeze an object hierarchy, you have a nice structure you can pass around without fear of mutation. The problem is that if you want to modify properties inside this hierarchical collection, you have to return a new copy with the properties changed.




monocle-decorators.js - :tophat: Classy decorators

  •    Javascript

Tiny library with most common/useful decorators. Think of it as underscore.js, but with class. Extends decorated class with all enumerable properties from ArrayOfMixins passed as argument.

django-freeze - django-freeze is a static site generator made to fill some gaps of the unmaintained django-medusa

  •    Python

django-freeze generates the static version of your django site. All these settings are optional, if not defined in settings.py the default values (listed below) will be used.

redux-freeze - Redux middleware that prevents state from being mutated anywhere in the app

  •    Javascript

Redux middleware that prevents state from being mutated anywhere in the app. When mutation occurs, an error will be thrown by the runtime. This is useful during development mode to ensure that no part of the app accidentally mutates the state.


cryo - JSON on steroids.

  •    Javascript

JSON on steroids. Cryo takes a verbatim snapshot of all your properties, including those that are undefined - which JSON ignores.