{"id":19196642,"url":"https://github.com/steveswork/clone-total","last_synced_at":"2026-02-19T16:02:35.457Z","repository":{"id":241208985,"uuid":"804626600","full_name":"steveswork/clone-total","owner":"steveswork","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-01T22:56:16.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T05:02:56.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steveswork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":["https://www.paypal.me/webKrafters"]}},"created_at":"2024-05-23T00:31:15.000Z","updated_at":"2024-06-01T22:56:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"04bddcc1-3768-4b0d-9536-5e3b4436b43c","html_url":"https://github.com/steveswork/clone-total","commit_stats":null,"previous_names":["steveswork/clone-total"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/steveswork/clone-total","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveswork%2Fclone-total","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveswork%2Fclone-total/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveswork%2Fclone-total/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveswork%2Fclone-total/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steveswork","download_url":"https://codeload.github.com/steveswork/clone-total/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveswork%2Fclone-total/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29621901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T12:14:11.928Z","updated_at":"2026-02-19T16:02:35.422Z","avatar_url":"https://github.com/steveswork.png","language":"JavaScript","funding_links":["https://www.paypal.me/webKrafters"],"categories":[],"sub_categories":[],"readme":"# Clone Total\n\nRegular clonedeep including all instances implementing the `clone` and the `cloneNode` methods.\n\nThis is an unscoped version of the [@webkrafters/clone-total](https://www.npmjs.com/package/@webkrafters/clone-total) package.\n\n**Install:**\\\nnpm i -S clone-total\\\nAlternate: npm i -S @webkrafters/clone-total\n\n## Regarding Class Instances Values\nAll cloned properties and values which are Instances of non-native classes not implementing either the `clone` or the `cloneNode` methods may not be cloneable. Such instances are retured uncloned. To clone these, a `customizer` argument function may be supplied. Please see **Extended** example below.\n\n### Example\n\n```jsx\nimport clone from 'clone-total'; \n\nclone( object ); // returns cloned object\n```\n\n### Example (Extended)\n\n```jsx\n\nfunction customizer(\n    value : unknown,\n    key? : number | string,\n    object? : T,\n    stack? : unknown\n) {\n    if( /* \u003cyour fallback condition\u003e */ ) {\n        return yourCloneAlgorithm( value, key, object, stack );\n    }\n    // or allow the normal course to continue.\n};\n\nclone( object, customizer );\n```\n\n# License\nMIT\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteveswork%2Fclone-total","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteveswork%2Fclone-total","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteveswork%2Fclone-total/lists"}