{"name":"just-clone","version":"5.0.1","description":"deep copies objects and arrays","main":"index.js","module":"index.mjs","exports":{".":{"require":"./index.js","default":"./index.mjs"}},"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@5.0.1","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"dist":{"integrity":"sha512-y6hFQ8X4fhJTZzdNvrE9mnCQX33uN4xV0hZ+5WNgs6yCcrRzs9ieFXuYRKznWqQ/gOSZpJu0yQ6hRHLCU6ezyw==","shasum":"e2978fe886046267cad1df7c6aabcf3aa2a1b6a9","tarball":"http://registry-npm.ywwl.com/just-clone/download/just-clone-5.0.1.tgz","fileCount":8,"unpackedSize":5899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2w3mCRA9TVsSAnZWagAA2qgQAJNiktAgYywbxUJa0qK5\nnvShPoL2/04+G9FaSC9JnWpuNiHKFZLksTahLcM7/Tfi/luLX2/qNLgTWNrB\nBH4htabvky3kQ9jRHZG9SA+endjxvfUrktfwz0fWIRlMDflyWespY3LHgba6\nlu+0egfrDooRZkwX9wpLD2/dVU27SEeZ7zR0Qqt6hYXN9qQxcAkdYN220mZD\nfjuYNz8TQuffqDOym2mtutPtiIbfoDIgD/Vz8yBpXlbMvI0yE36M0xD2hKY9\nGUNUS//h4J7rKr4tUzjRdBywW7BqkJ3JyARkrsQAEMk8uTv1V590NUlFnfJP\nP6sFCPthdD+ObkX8gOpgd3HpV8Yc9RnN1fmeoVsenAkMCcxAemFn1wfnywM7\nk2LtybXuzOsY06e89DS1emYL60alqGc8MET8KDLP0XA7hjhKu8SjuVt5BxZi\nUEe4ZBfegx7hAyBf2n3YCXlfP/Uh7Tv9ZSB07pQoEgE2Cgvz8nUaoC1pjOXe\ndjicsZqhf+Xl6SDfrBIb1oB00FC+W0TUkmZnpx/Hbtrj8SmLmLGM6vIOP97G\n+TnWLEOUg2xTfs5bxYlyavn5AeDThy4L/ZR+bO/1555qredibLaz3qxHhrGi\nLU4tTsJd/m/XwhdWoaIe4G/OHzS3GBWoVesXGZCpL8KGnfCXWNAN3wDUD7Qw\nPkOs\r\n=hr6B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFIM+ClFJ9dGop6tJVMdu+T4gnnBv3nlxFUAEiasEpsJAiEArs3TGSZWGfN0Dme4lQps5sOD1lTYkirBCc66yEI/Pq0="}],"size":2339,"noattachment":false,"key":"/just-clone/-/just-clone-5.0.1.tgz"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-clone_5.0.1_1636787970449_0.005800294763599334"},"_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":1636787970619,"_cnpm_publish_time":1636787970619,"dist-tags":{"latest":"6.2.0"}}