Omniclone is a fully configurable function for deep cloning objects in javascript. It let you define custom cloning logic.

It handles correctly: the invocation of constructors, the copy of the constructor and [[Prototype]], circular references, normal objects, custom objects, String, Boolean, Number, Error, Promise, Array, RegExp, Date, Map, WeakMap, Set, WeakSet, ArrayBuffer, TypedArray and DataView objects. It does his best even with Proxies. It also allows the copy of non-enumerables props, getters & setters, symbols.

Monthly Downloads: 0
Programming language: JavaScript
Tags: Editors     JavaScript     Js     Object     deep     Cloning    

omniclone alternatives and related libraries

Based on the "Editors" category

Do you think we are missing an alternative of omniclone or a related project?

Add another 'Editors' Library

omniclone Recommendations

There are no recommendations yet. Be the first to promote omniclone!

Have you used omniclone? Share your experience. Write a short recommendation and omniclone, you and your project will be promoted on Awesome JavaScript.
Recommend omniclone

Recently added omniclone resources

Do you know of a usefull tutorial, book or news relevant to omniclone?
Be the first to add one!