{"_id":"deep-clone","_rev":"2866136","name":"deep-clone","description":"Deep cloning of Arrays and plain Objects.","dist-tags":{"latest":"3.0.3"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"time":{"modified":"2022-09-23T03:38:35.000Z","created":"2015-11-22T04:11:20.928Z","3.0.3":"2018-04-30T00:21:45.291Z","3.0.2":"2016-11-21T05:05:22.120Z","3.0.1":"2016-11-01T21:02:28.665Z","3.0.0":"2016-11-01T20:34:51.808Z","2.0.2":"2016-01-06T08:27:21.093Z","2.0.1":"2016-01-06T04:28:41.441Z","2.0.0":"2016-01-05T06:02:41.444Z","1.1.0":"2015-12-19T08:17:27.542Z","1.0.2":"2015-11-26T06:04:46.481Z","1.0.1":"2015-11-22T06:53:24.185Z","1.0.0":"2015-11-22T04:11:20.928Z"},"users":{},"author":"","repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"versions":{"3.0.3":{"name":"deep-clone","version":"3.0.3","description":"Deep cloning of Arrays and plain Objects.","main":"index.js","scripts":{"lint":"eslint src/**/*.js test/**/*.js","istanbul":"babel-node node_modules/.bin/babel-istanbul cover _mocha --","test":"mocha --compilers js:babel-register","cover":"npm run -s istanbul -- --compilers js:babel-register","test:watch":"npm -s t -- -w","compile":"babel src --out-dir lib","ship":"npm run -s lint && npm -s t && npm run -s compile && npm publish"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"6.18.0","babel-core":"6.18.2","babel-eslint":"7.1.1","babel-istanbul":"0.11.0","babel-preset-es2015":"6.18.0","babel-register":"6.18.0","chai":"3.5.0","coveralls":"2.11.15","eslint":"3.10.2","lodash":"4.17.2","mocha":"3.1.2"},"gitHead":"38519942200fe73332e2aee8bf1e0103a2ce060d","_id":"deep-clone@3.0.3","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"c13d7797625b66e955c5f6f52bfad028eb1166bb","size":2576,"noattachment":false,"key":"/deep-clone/-/deep-clone-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-3.0.3.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deep-clone_3.0.3_1525047705212_0.7815772656864355"},"_hasShrinkwrap":false,"publish_time":1525047705291,"_cnpm_publish_time":1525047705291,"_cnpmcore_publish_time":"2021-12-17T05:21:59.675Z"},"3.0.2":{"name":"deep-clone","version":"3.0.2","description":"Deep cloning of Arrays and plain Objects.","main":"index.js","scripts":{"lint":"eslint src/**/*.js test/**/*.js","istanbul":"babel-node node_modules/.bin/babel-istanbul cover _mocha --","test":"mocha --compilers js:babel-register","cover":"npm run -s istanbul -- --compilers js:babel-register","test:watch":"npm -s t -- -w","compile":"babel src --out-dir lib","ship":"npm run -s lint && npm -s t && npm run -s compile && npm publish"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"6.18.0","babel-core":"6.18.2","babel-eslint":"7.1.1","babel-istanbul":"0.11.0","babel-preset-es2015":"6.18.0","babel-register":"6.18.0","chai":"3.5.0","coveralls":"2.11.15","eslint":"3.10.2","lodash":"4.17.2","mocha":"3.1.2"},"gitHead":"d55893c9a1580e60c1ab492650acc818bfa8b4bc","_id":"deep-clone@3.0.2","_shasum":"eed0af407e70971e747350bcdd68042b454ab951","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"eed0af407e70971e747350bcdd68042b454ab951","size":15291,"noattachment":false,"key":"/deep-clone/-/deep-clone-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-3.0.2.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/deep-clone-3.0.2.tgz_1479704720320_0.7844766480848193"},"directories":{},"publish_time":1479704722120,"_hasShrinkwrap":false,"_cnpm_publish_time":1479704722120,"_cnpmcore_publish_time":"2021-12-17T05:22:00.029Z"},"3.0.1":{"name":"deep-clone","version":"3.0.1","description":"Deep cloning of Arrays and plain Objects.","main":"index.js","scripts":{"lint":"eslint src/**/*.js test/**/*.js","istanbul":"babel-node node_modules/.bin/babel-istanbul cover _mocha --","test":"mocha --compilers js:babel-register","cover":"npm run -s istanbul -- --compilers js:babel-register","test:watch":"npm -s t -- -w","compile":"babel src --out-dir lib","ship":"npm run -s lint && npm -s t && npm run -s compile && npm publish"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"6.3.17","babel-core":"6.3.26","babel-eslint":"5.0.0-beta6","babel-istanbul":"0.5.9","babel-preset-es2015":"6.3.13","babel-register":"6.3.13","chai":"3.4.1","coveralls":"2.11.6","eslint":"1.10.3","lodash":"3.10.1","mocha":"2.3.4"},"gitHead":"7b8ac08b10d9c26ade6c6c50d7cdedb6c5c1d38e","_id":"deep-clone@3.0.1","_shasum":"52f3a779a2a94361217140c68346354945ee939e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"52f3a779a2a94361217140c68346354945ee939e","size":16674,"noattachment":false,"key":"/deep-clone/-/deep-clone-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-3.0.1.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/deep-clone-3.0.1.tgz_1478034146646_0.5296211827080697"},"directories":{},"publish_time":1478034148665,"_hasShrinkwrap":false,"_cnpm_publish_time":1478034148665,"_cnpmcore_publish_time":"2021-12-17T05:22:00.211Z"},"3.0.0":{"name":"deep-clone","version":"3.0.0","description":"Deep cloning of Arrays and plain Objects.","main":"index.js","scripts":{"lint":"eslint src/**/*.js test/**/*.js","istanbul":"babel-node node_modules/.bin/babel-istanbul cover _mocha --","test":"mocha --compilers js:babel-register","cover":"npm run -s istanbul -- --compilers js:babel-register","test:watch":"npm -s t -- -w","compile":"babel src --out-dir lib","ship":"npm run -s lint && npm -s t && npm run -s compile && npm publish"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"6.3.17","babel-core":"6.3.26","babel-eslint":"5.0.0-beta6","babel-istanbul":"0.5.9","babel-preset-es2015":"6.3.13","babel-register":"6.3.13","chai":"3.4.1","coveralls":"2.11.6","eslint":"1.10.3","lodash":"3.10.1","mocha":"2.3.4"},"gitHead":"4a675d2932ba290467a0237cc919254d39cc3aaa","_id":"deep-clone@3.0.0","_shasum":"218c70388e91865a7e025740266b6f6a088a921c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"218c70388e91865a7e025740266b6f6a088a921c","size":16693,"noattachment":false,"key":"/deep-clone/-/deep-clone-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-3.0.0.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/deep-clone-3.0.0.tgz_1478032489910_0.7773579631466419"},"directories":{},"publish_time":1478032491808,"_hasShrinkwrap":false,"_cnpm_publish_time":1478032491808,"_cnpmcore_publish_time":"2021-12-17T05:22:00.445Z"},"2.0.2":{"name":"deep-clone","version":"2.0.2","description":"Deep cloning of Arrays and plain Objects.","main":"index.js","scripts":{"lint":"eslint src/**/*.js test/**/*.js","istanbul":"babel-node node_modules/.bin/babel-istanbul cover _mocha --","test":"mocha --compilers js:babel-register","cover":"npm run -s istanbul -- --compilers js:babel-register","test:watch":"npm -s t -- -w","compile":"babel src --out-dir lib","ship":"npm run -s lint && npm -s t && npm run -s compile && npm publish"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"6.3.17","babel-core":"6.3.26","babel-eslint":"5.0.0-beta6","babel-istanbul":"0.5.9","babel-preset-es2015":"6.3.13","babel-register":"6.3.13","chai":"3.4.1","coveralls":"2.11.6","eslint":"1.10.3","lodash":"3.10.1","mocha":"2.3.4"},"gitHead":"306b04ae79cf23762a1c24faf078f3a846a1f868","_id":"deep-clone@2.0.2","_shasum":"169b49c2bb00d752b16a364d69c7cc11d5d201a3","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.2.3","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"169b49c2bb00d752b16a364d69c7cc11d5d201a3","size":16497,"noattachment":false,"key":"/deep-clone/-/deep-clone-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-2.0.2.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"directories":{},"publish_time":1452068841093,"_hasShrinkwrap":false,"_cnpm_publish_time":1452068841093,"_cnpmcore_publish_time":"2021-12-17T05:22:00.766Z"},"2.0.1":{"name":"deep-clone","version":"2.0.1","description":"Deep cloning of Arrays and plain Objects.","main":"index.js","scripts":{"lint":"eslint src/**/*.js test/**/*.js","istanbul":"babel-node node_modules/.bin/babel-istanbul cover _mocha --","test":"mocha --compilers js:babel-register","cover":"npm run -s istanbul -- --compilers js:babel-register","test:watch":"npm -s t -- -w","compile":"babel src --out-dir lib","ship":"npm run -s lint && npm -s t && npm run -s compile && npm publish"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"6.3.17","babel-core":"6.3.26","babel-eslint":"5.0.0-beta6","babel-istanbul":"0.5.9","babel-preset-es2015":"6.3.13","babel-register":"6.3.13","chai":"3.4.1","coveralls":"2.11.6","eslint":"1.10.3","lodash":"3.10.1","mocha":"2.3.4"},"gitHead":"6b118eb94955b37fc53471832af6d901091890da","_id":"deep-clone@2.0.1","_shasum":"05f54c091a462ca525253edb872cb77c1bafab9c","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.2.3","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"05f54c091a462ca525253edb872cb77c1bafab9c","size":16504,"noattachment":false,"key":"/deep-clone/-/deep-clone-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-2.0.1.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"directories":{},"publish_time":1452054521441,"_hasShrinkwrap":false,"_cnpm_publish_time":1452054521441,"_cnpmcore_publish_time":"2021-12-17T05:22:01.014Z"},"2.0.0":{"name":"deep-clone","version":"2.0.0","description":"Deep cloning of Arrays and plain Objects.","main":"index.js","scripts":{"test":"mocha --compilers js:babel-core/register","tdd":"mocha -w --compilers js:babel-core/register","precompile":"npm test","compile":"babel src --out-dir lib"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"6.3.17","babel-core":"6.3.26","babel-preset-es2015":"6.3.13","chai":"3.4.1","lodash.camelcase":"3.0.1","lodash.snakecase":"3.0.1","mocha":"2.3.4"},"gitHead":"dad872e48719e4552d62b5545c81c31a74867cdd","_id":"deep-clone@2.0.0","_shasum":"c772305655fd593032efb75fd5eed17bc777d084","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.2.3","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"c772305655fd593032efb75fd5eed17bc777d084","size":2361,"noattachment":false,"key":"/deep-clone/-/deep-clone-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-2.0.0.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"directories":{},"publish_time":1451973761444,"_hasShrinkwrap":false,"_cnpm_publish_time":1451973761444,"_cnpmcore_publish_time":"2021-12-17T05:22:01.227Z"},"1.1.0":{"name":"deep-clone","version":"1.1.0","description":"Stand-alone deep cloning of Arrays and Objects","main":"index.js","scripts":{"test":"mocha --compilers js:babel-core/register","tdd":"mocha -w --compilers js:babel-core/register","pretransform":"npm test","transform":"babel src --out-dir lib","prepublish":"npm run transform"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-preset-es2015":"^6.1.18","chai":"^3.4.1","lodash.camelcase":"3.0.1","lodash.snakecase":"3.0.1","mocha":"^2.3.4"},"gitHead":"89ce483c06f5e2440e2c359335eaac0a4a48d491","_id":"deep-clone@1.1.0","_shasum":"a059a52ce0615f1ec32beb8ef306f00a50e74959","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.0.0","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"a059a52ce0615f1ec32beb8ef306f00a50e74959","size":2228,"noattachment":false,"key":"/deep-clone/-/deep-clone-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-1.1.0.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"directories":{},"publish_time":1450513047542,"_hasShrinkwrap":false,"_cnpm_publish_time":1450513047542,"_cnpmcore_publish_time":"2021-12-17T05:22:01.448Z"},"1.0.2":{"name":"deep-clone","version":"1.0.2","description":"Stand-alone deep cloning of Arrays and Objects","main":"index.js","scripts":{"test":"mocha --compilers js:babel-core/register","dev":"mocha -w --compilers js:babel-core/register","pretransform":"npm test","transform":"babel src --out-dir lib","prepublish":"npm run transform"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-preset-es2015":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"gitHead":"c2535fdd3021e1bd9453bab45b6d7bb3d50c556e","_id":"deep-clone@1.0.2","_shasum":"a55bc6ae556272afada8dcdcfc742d1b38acf77b","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.0.0","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"a55bc6ae556272afada8dcdcfc742d1b38acf77b","size":1939,"noattachment":false,"key":"/deep-clone/-/deep-clone-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-1.0.2.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"directories":{},"publish_time":1448517886481,"_hasShrinkwrap":false,"_cnpm_publish_time":1448517886481,"_cnpmcore_publish_time":"2021-12-17T05:22:01.674Z"},"1.0.1":{"name":"deep-clone","version":"1.0.1","description":"Stand-alone deep cloning of Arrays and Objects","main":"lib/index.js","scripts":{"test":"mocha --compilers js:babel-core/register","dev":"mocha -w --compilers js:babel-core/register","precompile":"npm test","compile":"babel src --out-dir lib","prepublish":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"keywords":["clone"],"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-preset-es2015":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"gitHead":"68ada80865516496212326f6ebf72f65d5f96f6c","_id":"deep-clone@1.0.1","_shasum":"a5175b5388884a1c02d413b78d3416cfb1446b1d","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.0.0","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"a5175b5388884a1c02d413b78d3416cfb1446b1d","size":1877,"noattachment":false,"key":"/deep-clone/-/deep-clone-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-1.0.1.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"directories":{},"publish_time":1448175204185,"_hasShrinkwrap":false,"_cnpm_publish_time":1448175204185,"_cnpmcore_publish_time":"2021-12-17T05:22:01.869Z"},"1.0.0":{"name":"deep-clone","version":"1.0.0","description":"Stand-alone deep cloning of Arrays and Objects","main":"index.js","scripts":{"test":"mocha --compilers js:babel-core/register","dev":"mocha -w --compilers js:babel-core/register","precompile":"npm test","compile":"babel deep-clone.js -o index.js","prepublish":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/thebearingedge/deep-clone.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"homepage":"https://github.com/thebearingedge/deep-clone#readme","devDependencies":{"babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-preset-es2015":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"gitHead":"05aa5611834ec13978ce13f16b54b7776c8355f0","_id":"deep-clone@1.0.0","_shasum":"bb1d9aebb218afbb3438b5f56f28e2fbd0eac6c2","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.0.0","_npmUser":{"name":"thebearingedge","email":"thebearingedge@gmail.com"},"dist":{"shasum":"bb1d9aebb218afbb3438b5f56f28e2fbd0eac6c2","size":2668,"noattachment":false,"key":"/deep-clone/-/deep-clone-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-clone/download/deep-clone-1.0.0.tgz"},"maintainers":[{"name":"thebearingedge","email":"thebearingedge@gmail.com"}],"directories":{},"publish_time":1448165480928,"_hasShrinkwrap":false,"_cnpm_publish_time":1448165480928,"_cnpmcore_publish_time":"2021-12-17T05:22:02.167Z"}},"readme":"# deep-clone\nDeep cloning of Arrays and plain Objects.\n\n[![Build Status](https://travis-ci.org/thebearingedge/deep-clone.svg?branch=master)](https://travis-ci.org/thebearingedge/deep-clone)\n[![Coverage Status](https://coveralls.io/repos/thebearingedge/deep-clone/badge.svg?branch=master&service=github)](https://coveralls.io/github/thebearingedge/deep-clone?branch=master)\n\n```bash\n$ npm i -S deep-clone\n```\n\ndeepClone(obj, [stringFormatter])\n---\n\nRecursively clone nested objects and arrays containing primitive data or nested objects and arrays containing primitive data. Clones `Date` objects too...\n\n```javascript\nimport deepClone from 'deep-clone'\n\nconst foo = { bar: 'baz' }\nconst fooClone = deepClone(foo)\n\nassert.deepEqual(foo, fooClone)\nassert.notEqual(foo, fooClone)\n\nconst arr = [{ foo: 'bar'}, { baz: 'qux'}]\nconst arrClone = deepClone(arr)\n\nassert.deepEqual(arr, arrClone)\nassert.notEqual(arr, arrClone)\n```\n\nDeep clone an Object or Array and format the keys.\n\n```javascript\nimport camelCase from 'camelcase'\nimport deepClone from 'deep-clone'\n\nconst foo = { bar_baz: 'qux' }\nconst fooClone = deepClone(foo, camelCase)\n\nassert.deepEqual(fooClone, { barBaz: 'qux' })\n```\n\nOr...\n\n```javascript\nimport camelCase from 'camelcase'\nimport { formatKeys } from 'deep-clone'\n\nconst camelKeys = formatKeys(camelCase)\nconst arr = [{ foo_bar: 'baz' }, { qux_quux: 'corge' }]\nconst camelClone = camelKeys(arr)\n\nassert.deepEqual(camelClone, [{ fooBar: 'baz' }, { quxQuux: 'corge' }])\n```\n\nVersion 2 handles circular references using a Map.\n\n```javascript\nconst foo = { bar: 'baz' }\n\nfoo.qux = [foo]\n\nconst clone = deepClone(foo)\n\nassert.deepEqual(clone, foo)\nassert.equal(clone.qux[0], clone)\n```\n\nOther options:\n- [clone-deep](https://github.com/jonschlinkert/clone-deep)\n- [safe-clone-deep](https://github.com/tracker1/safe-clone-deep)\n","_attachments":{},"homepage":"https://github.com/thebearingedge/deep-clone#readme","bugs":{"url":"https://github.com/thebearingedge/deep-clone/issues"},"license":"MIT"}