{"name":"just-clone","version":"3.2.1","description":"deep copies objects and arrays","main":"index.js","types":"index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"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@3.2.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"dist":{"integrity":"sha512-PFotEVrrzAnwuWTUOFquDShWrHnUnhxNrVs1VFqkNfnoH3Sn5XUlDOePYn2Vv5cN8xV2y69jf8qEoQHm7eoLnw==","shasum":"7396be5790d33f0fa7e8a145d7983b986a8cee39","tarball":"http://registry-npm.ywwl.com/just-clone/download/just-clone-3.2.1.tgz","fileCount":6,"unpackedSize":4161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaiukCRA9TVsSAnZWagAAiTgP/RiGfz7tUOW1jgAqCqcM\n6YNJTkpyk8FkiFSxBj2GTe4l3qcnJW5Yeu5oQA63XmmWHX8HYSLxebCdyAyQ\n6xHnrJGDuLAt5lNb88XBK3rUVp5ceS8fHfcrxsYbZh5gMLUL41SeiV4FWaic\nZYJOaaKlOHW+0CQ9PxSgPl6E6KH2vezaUJw4+bYYs2uC9u/AxRN9HRr+rPPr\nxW1+OtuVAoZHqBTqLhFUTXOLStHIfpVZQfGf3aIBMCdo0amosiAbt8L5zeBh\nUzBW8f3iuQvaZf6YGSnNXwrI15c2R51A9uAcqghbyJ+eLJlCXCmOkqeiFbTK\n1QxIJELeUwvh7aacNiBD4li9TrcZhAu27P+ol2JGMu75MSEyeniql3gT8SeQ\nz6wU1cLsYc4RtNUT2/nVVyp83iOZxPjj5T5yp7enfQP5a/l+zpKNV8ftmgOg\nhVswATddAZdYUl8dZ/uLC4dJojhb0UDJ6jXgU4cGpcZvvu2xm0jRtlxHEgO1\nqcobmdn7S0kqQpFDniW5iKDL/JgNfTPAoGQigF+5/Wa/Il3Dmav5meAM/aeo\n74uTYk5FlJdkcJMm4/yuFAjDwM/O+EIs1GJhgappg4E8PKwvKM7HXvoC9Qts\nB1slwDWX8SVOGagwwqND+o0cnCl4iXOuEilpcTi8FqfS4sw6WhSq++ny3Rh7\nFBSA\r\n=EuzT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNt+hiUPsdI5aVoo7xIseCEqoxYFrj1Hf7Zt7IPfjq5wIhAKKleKqmfVHwxFQuVjvsYOLY+W2sqwGhJydwQf1NdDYN"}],"size":2113,"noattachment":false,"key":"/just-clone/-/just-clone-3.2.1.tgz"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-clone_3.2.1_1617570723589_0.12399078085052118"},"_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":1617570723722,"_cnpm_publish_time":1617570723722,"dist-tags":{"latest":"6.2.0"}}