Wednesday, 9 January 2019

omniclone: a configurable javascript utility for objects deep cloning

omniclone is an isomorphic and configurable javascript function for object deep cloning that support circular references and the cloning of symbol props, non-enums props and getters & setters.omniclone(source, config);​It could deeply clone a/an:• plain js object• custom object,• Array• Date• RegExp• Map• Set• ArrayBuffer• TypedArray​It could handle String, Boolean, Number, Error, Promise, Map, Set, WeakMap, WeakSet and Function objects.It does it best even with Proxies.​Check it out on github :D

Submitted January 09, 2019 at 11:54PM by jfet97

No comments:

Post a Comment