{"name":"just-clone","version":"6.2.0","description":"deep copies objects and arrays","type":"module","exports":{".":{"types":"./index.d.ts","require":"./index.cjs","import":"./index.mjs"},"./package.json":"./package.json"},"main":"index.cjs","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"},"gitHead":"192fc6b964b038757e30d239a1f3547c9eb6e30f","homepage":"https://github.com/angus-c/just#readme","_id":"just-clone@6.2.0","_nodeVersion":"12.22.6","_npmVersion":"8.1.3","dist":{"integrity":"sha512-1IynUYEc/HAwxhi3WDpIpxJbZpMCvvrrmZVqvj9EhpvbH8lls7HhdhiByjL7DkAaWlLIzpC0Xc/VPvy/UxLNjA==","shasum":"a4614d9bf7e4bbdcae7f9ba904aea5ea9cae8ae5","tarball":"http://registry-npm.ywwl.com/just-clone/download/just-clone-6.2.0.tgz","fileCount":9,"unpackedSize":6863,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGhpgdhtMkgbSb9HlEZW6iNLOGT3oWwNXT7MmYdgkqqOAiB3Z/8aBE+1sBSLpHgxS0jZah6xl1WK/eUVTFHvmYefew=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjni0EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosEg/8C/p7llcn4yeA2tf12wJKx+qs0VsiTqdVluI66zM5KXGwo+jY\r\nvtHDv4fQe7zbHNnwjo8GtU3sBT5gvylxeAUGn1bvBmm8aEPHDnlvcUu8Syaj\r\nXxi/PASbrgE9ADEHANt4NjjXnroFwL8D+vpLz/QOxb8jQ47fiMcuSz/cIs+x\r\ne9yf22frx494YOqslbYhXM0+QEGOIdkaCN4NnxEARyky3ewoqd5RV0Tq/0lB\r\n1VK2rpLX3Huf0o38oXH12coBSSOJqGTBzfhOLIZ92xy3gri/vr0pkR78Vajn\r\nXhwg8ihKX6ahMv34oojMFy0uc80HoS1RZHr6ktnohSBuXwaF/p45U2HRZrWB\r\nWirEy0C7UTCpjTfT1yIcGNXGRtOzfBYVY0c89f4IZQ9TCA4kcbwSrcrQKF/p\r\nOc+M32w0BNTy9NTE88tnGnhmV0VqFMwVWSf9vLu8Nlg9rO6q61tPGJYzSqO+\r\nVhYor0VwL2GTpYd3TJiTWuaiMUA7gpEix2hB4Bo5Vh+NaCMwamuZKGwiz9dS\r\n756mJnrGOA+PVZ/keb+XaEiWexo2yY0jS1krWxk1PBlzXLsunTH4EaVrNBRy\r\nWyS29uAAxpasms/eXpWzxIPgTYwCTT7juv/r1CgTgfGhckz2HWyZpH1WIDrS\r\nlrlXO/Kz2NpwL16MfKmcW1CvR6rxwTjCQc4=\r\n=QVPE\r\n-----END PGP SIGNATURE-----\r\n","size":2745,"noattachment":false,"key":"/just-clone/-/just-clone-6.2.0.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.2.0_1671310595956_0.7085182204171208"},"_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":1671310596118,"_cnpm_publish_time":1671310596118,"dist-tags":{"latest":"6.2.0"}}