{"id":24516465,"url":"https://github.com/knaxus/deep-copy-js","last_synced_at":"2025-03-15T10:42:36.243Z","repository":{"id":46896756,"uuid":"257799767","full_name":"knaxus/deep-copy-js","owner":"knaxus","description":"A JavaScript utility for deep copy","archived":false,"fork":false,"pushed_at":"2023-01-06T06:47:04.000Z","size":631,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T01:28:10.674Z","etag":null,"topics":["javascript","javascript-library","javascript-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knaxus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-22T05:22:47.000Z","updated_at":"2020-06-28T11:32:06.000Z","dependencies_parsed_at":"2023-02-05T13:40:14.243Z","dependency_job_id":null,"html_url":"https://github.com/knaxus/deep-copy-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knaxus%2Fdeep-copy-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knaxus%2Fdeep-copy-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knaxus%2Fdeep-copy-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knaxus%2Fdeep-copy-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knaxus","download_url":"https://codeload.github.com/knaxus/deep-copy-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719359,"owners_count":20336596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","javascript-library","javascript-plugin"],"created_at":"2025-01-22T01:26:07.542Z","updated_at":"2025-03-15T10:42:36.221Z","avatar_url":"https://github.com/knaxus.png","language":"JavaScript","readme":"# deep-copy-js\n\nDeep copy implementation for pactice. \n\n## Usage\n\n```javascript\n\n(() =\u003e {\n  console.log('Deep Clone in action');\n  console.log('deepClone(10) ==\u003e', deepClone(10));\n  console.log('deepClone([1, true, \"hello\"]) ==\u003e', deepClone([1, true, \"hello\"]));\n  console.log('deepClone({ name: \"John\", age: 10}) ==\u003e', deepClone({ name: \"John\", age: 10 }));\n  console.log('deepClone({ name: \"John\", address: { city: \"LA\" }}) ==\u003e', deepClone({ name: \"John\", address: { city: \"Delhi\" } }));\n})();\n\n```\n\n### Using a shortcut\n\n```javascript\n\nconst clone = JSON.parse(JSON.stringify(data));\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknaxus%2Fdeep-copy-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknaxus%2Fdeep-copy-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknaxus%2Fdeep-copy-js/lists"}