Displaying 1 to 10 from 10 results

fast-copy - A blazing fast deep object copier

  •    Javascript

Under the hood, fast-copy uses instanceof to determine object types, which can cause false negatives when used in combination with iframe-based objects. To handle this edge case, you can pass the optional second parameter of realm to the copy method, which identifies which realm the object comes from and will use that realm to drive both comparisons and constructors for the copies. Circular objects are supported out of the box as well. By default a cache based on WeakSet is used, but if WeakSet is not available then a standard Object fallback is used. The benchmarks quoted below are based on use of WeakSet.

deepmerge - A library for deep (recursive) merging of Javascript objects

  •    Javascript

Merge the enumerable attributes of two objects deeply. For the old array element-merging algorithm, see the arrayMerge option below.

cloner - Cloning ES5+ objects in a shallow or deep way

  •    Javascript

An ES5+ compatible utility to deep or shallow copy and merge objects. The module has two sub modules: shallow and deep. Both of them will have two methods: copy and merge.




UltraDeepClone - `UltraDeepClone` is the last algorithm you will ever need for cloning JavaScript objects

  •    Javascript

Handles cycles or circular references - objects that contain references to themselves or a parent object. And the global function UltraDeepClone will be available.

assign-deep - Deeply assign the enumerable properties of source objects to a destination object.

  •    Javascript

Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

defaults-deep - Like `extend` but recursively copies only the missing properties/values to the target object

  •    Javascript

Like extend but recursively copies only the missing properties/values to the target object. Copyright © 2015 Jon Schlinkert Released under the MIT license.


owl-deepcopy - Oran Looney's definitive deepCopy.js packaged as a node module.

  •    Javascript

Oran Looney's definitive deepCopy.js packaged as a node module.

rfdc - Really Fast Deep Clone

  •    Javascript

It's faster to allow enumerable properties on the prototype to be copied into the cloned object (not onto it's prototype, directly onto the object). If this behavior is acceptable, set proto to true for an additional 2% performance boost.