Easily update nested frozen objects and arrays in a declarative and immutable manner.
frozen objects without modifying the target
Easily update nested frozen objects and arrays in a declarative and immutable manner.
Easily update nested frozen objects and arrays in a declarative and immutable manner.
A freeze-test for your user-agent string
An essential WeakMap polyfill for legacy browsers.
Node.js constants (ERRNO, SIGNALS, DLOPEN, PRIORITY) as javascript enums (frozen objects). Typescript types included.
Immutability helpers with fast reads and acceptable writes
Easily update nested frozen objects and arrays in a declarative and immutable manner.
Utilities for treating frozen JavaScript objects as persistent immutable collections.
Use the right package manager
Defines the taxonomy of Passable objects.
Returns true if a value is a plain object, array or function.
converts bare objects to DOM objects or xml representations
A module to watch and reload CommonJS Modules on modification and sync results with objects
A JavaScript text diff implementation.
Serialize and deserialize complex object graphs to JSON
A blazing-fast equality comparison utility for a variety of use-cases
JSON for Humans
A blazing fast deep object copier
<!-- automd:badges codecov color=yellow -->
Immutable model made simple
An mutable object-based log format designed for chaining & objectMode streams.
Parses set-cookie headers into objects
Provides some syntactic sugar of implicitly frozen objects and an freezing operator useful for example in class constants.
Make a COW proxy for a frozen object (or deep frozen), it will delegate every read method to proxied object, wrap value in COW proxy if frozen. Trying to modify object will result in data stored in proxy.
Have you ever heard about icebergs or icicles? What about melting?
Provides frozen by default objects for more Functional style.
Deep frozen objects from yaml or hash.
Killer Frost provides a simple and easy way to make objects immutable in Ruby. Creating immutable objects help to remove undesired side effects.
Get a copy of 'frozen' objects or already frozen one in a simple manner.
Because memoization creates an ivar
A simple gem for creating mostly frozen objects. Useful for configuration-like objects.
Frozen objects: hard to use, can't mutate them, boring. Defrosted objects: exciting, dynamic, change any time!
"Caches" commonly-used objects by just storing them frozen in a global hash. Expiration is handled via Rails low-level caching or an ActiveSupport::Cache
Mutability is a module that provides the very simple ability to designate an "original" version of an object that is frozen, and will not change even if the working copy of the object does. The best example is a Hash or Array -- collections like those exist partly so they can be mutated in some way, either by adding or removing elements or changing their order. Now, rather than having to establish a separate "original" version of the object (not to mention dealing with the whole ivars-act-like-pointers-and-can-get-magically-changed-oops problem), you can use a MutableHash or MutableArray, and then change it to your heart's content. The MutableHash/Array are built from the Mutability mix-in, so downloading this gem also provides a library for you to add the same capabilities to any other Class you might want. Also included is the ability to revert to the original form with a single method call.
No description provided.
No description provided.