{"name":"just-clone","version":"4.1.1","description":"deep copies objects and arrays","main":"index.js","module":"index.esm.js","exports":{".":{"require":"./index.js","default":"./index.esm.js"}},"types":"index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/angus-c/just.git"},"keywords":["object","clone","copy","deep-copy","extend","no-dependencies","just"],"author":{"name":"Angus Croll"},"license":"MIT","bugs":{"url":"https://github.com/angus-c/just/issues"},"homepage":"https://github.com/angus-c/just#readme","_id":"just-clone@4.1.1","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"dist":{"integrity":"sha512-LYavd6qj7jNUWAGEC/Wdxr2Y533Fjx2+AAIjkxflT1QpQfPXFcMG1kZwfnxs+3iJinB8ByklW6kEegGJhcZmrA==","shasum":"e9051994c6b2a00be4731fce2430772662a97c86","tarball":"http://registry-npm.ywwl.com/just-clone/download/just-clone-4.1.1.tgz","fileCount":8,"unpackedSize":5787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5h8yS4nS84CtcqWNAFqQABZUzdHKPWzfj7Q+1F8MpKwIhAMgUFFQHhFLUmzUyXKwlNIshz5RWfmsCXU46HUgH/3/w"}],"size":2307,"noattachment":false,"key":"/just-clone/-/just-clone-4.1.1.tgz"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-clone_4.1.1_1635728098618_0.11360039959082235"},"_hasShrinkwrap":false,"readme":"<!-- DO NOT EDIT THIS FILE! THIS FILE WAS AUTOGENERATED BY TEMPLATE-MATE -->\n<!-- SEE https://github.com/angus-c/just/blob/master/CONTRIBUTING.md#readme-template -->\n\n## just-clone\n\nPart of a [library](https://anguscroll.com/just) of zero-dependency npm modules that do just do one thing.\nGuilt-free utilities for every occasion.\n\n[`🍦 Try it`](https://anguscroll.com/just/just-clone)\n\n```shell\nnpm install just-clone\n```\n```shell\nyarn add just-clone\n```\n\nDeep copies objects, arrays, maps and sets\n\n```js\n// Deep copies objects and arrays, doesn't clone functions\n\nimport clone from 'just-clone';\n\nvar arr = [1, 2, 3];\nvar subObj = { aa: 1 };\nvar obj = { a: 3, b: 5, c: arr, d: subObj };\nvar objClone = clone(obj);\narr.push(4);\nobjClone.d.bb = 2;\nobj; // {a: 3, b: 5, c: [1, 2, 3, 4], d: {aa: 1}}\nobjClone; // {a: 3, b: 5, c: [1, 2, 3], d: {aa: 1, bb: 2}}\n```\n","publish_time":1635728098780,"_cnpm_publish_time":1635728098780,"dist-tags":{"latest":"6.2.0"}}