cyclic-deep-extend

1.0.2 • Public • Published

cyclic-deep-extend

a strict deep-extend that can handle cyclic structures

Usage

 
var deepExtend = require('cyclic-deep-extend');
 
var a = {},
    b = {};
 
b.b = b;
 
deepExtend(a, b);
 
a.b === b;
a.b.b.b.b.b.b === b; // etc...
 

Readme

Keywords

none

Package Sidebar

Install

npm i cyclic-deep-extend

Weekly Downloads

35

Version

1.0.2

License

ISC

Last publish

Collaborators

  • korynunn