{"name":"just-clone","version":"6.1.1","description":"deep copies objects and arrays","main":"index.js","module":"index.mjs","exports":{".":{"require":"./index.js","types":"./index.d.ts","default":"./index.mjs"},"./package.json":"./package.json"},"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@6.1.1","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"integrity":"sha512-V24KLIid8uaG7ayOymGfheNHtxgrbpzj1UznQnF9vQZMHlKGTSLT3WWmFx62OXSQPwk1Tn+uo+H5/Xhb4bL9pA==","shasum":"05a67155558c6517362db424303bb76f4f7f23df","tarball":"http://registry-npm.ywwl.com/just-clone/download/just-clone-6.1.1.tgz","fileCount":9,"unpackedSize":6804,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9ahq/y10q0jF7YmcGO+vGgzhUlDiqpjcxGd2RltT+eAiEA/UZOfAiWrHowkeTLMoveOGYcM2acXwa2JJ0tU3Bav5Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8UuNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqKw/9HwCBJobyEBramDn2V4a7HglgWa7Leo60rlYBhQTWMm/7F5xe\r\nvvGlZZ8f12CFpYM+j2QEHbXPvqFylRidrwfTIyKbmoJ/LSo8eBcTSJg4/y+v\r\nQ+Da7sFriydqdoh/Wzw310vawN006OHRLtmChcmzQOfN+TF1XkqymRjEffOL\r\n+ijVaFoA//yNna7dbrKZTj7hXJ4B+wvoh3uGxYXO8W+EctbSVucCP0INIoCv\r\nlYoFiiWa4mX+APaBeFmK/gZG7iy5B74P01Bns+ppN/kpCqrPtRAnjKd/xuX+\r\nUFmnKo5C8K+ptCU/sJUvkmBLmusq7szl4NMbjP7I4/7ftMs+bYaISvIig2U5\r\n+Ung52gN9kkvZmuEH91o5Jqj/PzOgDqoAAwaYOiwZ9PE3apy/pZfQ3rz1D5W\r\nRG2440Orl3B1jqp2n4HBqwWg1MANv1xZKOBPHcVafb2S9Zrwxd5pjpSRDczQ\r\n6PKGU/QBaMgEEchgEYzIQyDL5tAd9u5HeV0trL6P9J5XlmsjOFrRscaqDU8m\r\nUrqIk0WAJgyWS1NiJaBRNGgIGL2H2bDIob3G8CtGw3D5lRzIdKHmLOZn3+8j\r\nA60zNwdgLb1hv/eyJoHNKDKo/cNdqD9+ym9nafQvDe9XsQfv/cgUonlC3Zil\r\noVXFL9cfOrbhYXxRsybKa1QZnE4TgClPM1s=\r\n=lXal\r\n-----END PGP SIGNATURE-----\r\n","size":2725,"noattachment":false,"key":"/just-clone/-/just-clone-6.1.1.tgz"},"_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-clone_6.1.1_1659980685133_0.8198401303547851"},"_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":1659980685289,"_cnpm_publish_time":1659980685289,"dist-tags":{"latest":"6.2.0"}}